Every request to the Campground API must be authenticated using an API key. You pass the key as a bearer token in theDocumentation Index
Fetch the complete documentation index at: https://docs.campground.fyi/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header. Requests without a valid key are rejected with a 401 response.
Getting an API key
API keys are managed by organization admins. Go to Settings > API Keys in your Campground dashboard to create a key. See Managing API keys for step-by-step instructions.Copy your API key immediately after creation — Campground only displays the full key once. If you lose it, revoke the key and create a new one.
Sending the API key
Include your API key in theAuthorization header of every request:
Example request
API key scopes
Each API key is created with a set of scopes that control which resources it can access. Requests that require a scope not granted to the key receive a403 response.
| Scope | Access granted |
|---|---|
read:profiles | Read profile data (list and detail endpoints) |
write:profiles | Create and update profiles and profile field values |
read:teams | Read team data (list and detail endpoints) |
read:applications | Read application data |
Error responses
401 Unauthorized
Returned when theAuthorization header is missing or the API key is invalid, expired, or revoked.
Authorization: Bearer {your_api_key} format and that the key has not been revoked.