API tokens
Use a token to upload rounds, videos and drafts from ChatGPT, VS Code or the command line. Tokens can never publish — everything still goes to an editor.
"VS Code laptop" created
Copy it now. You won't see it again.
gnp_live_2bQ7wX9mR4kT8vN1pL6sZ3cF
Connect your tools
ChatGPT · Custom GPT
In Actions, import the schema and choose API key → Bearer.
https://api.[your-domain]/openapi.json
VS Code · MCP
Add to .vscode/mcp.json. Keep the token in an env variable.
"fairway": {
"type": "http",
"url": "https://api.[your-domain]/mcp",
"headers": {
"Authorization":
"Bearer ${env:FAIRWAY_TOKEN}"
}
}
Command line
Push a whole player folder: rounds, scorecards and videos.
golf login --token $FAIRWAY_TOKEN golf validate players/ golf push --dry-run golf push golf status