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

Your tokens

Name Scopes Last used Expires Actions
VS Code laptop
gnp_live_2bQ7…
rounds:write media:upload media:analyze stories:draft
Just now 31 Jan 2027
My GPT
gnp_live_9kD1…
players:read media:analyze stories:draft stories:submit
2 h ago · Nairobi 14 Dec 2026
Bulk upload script
gnp_live_4xH8…
players:write rounds:write
12 days ago 5 Nov 2026 · soon

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