API Overview
The Gamopanda REST API is versioned and served from:
https://api.gamopanda.com/api/v1.0/api/v1.0
All responses wrap data in a consistent envelope:
Code
Paginated list endpoints include a paging object:
Code
Authentication
Gamopanda supports two authentication flows. Each endpoint lists which flows it accepts under its Security section — when multiple flows are listed, any one of them is sufficient.
API key flow (server-to-server)
Use your account API key and secret for backend / server-to-server calls:
Code
Both headers must be sent together.
End-user flow (client-side)
Use an end-user access token together with the account ID for requests made on behalf of a specific end user (e.g. from a frontend widget):
Code
Both headers must be sent together.
| Flow | Required headers |
|---|---|
| API key | x-api-key + x-api-secret |
| End-user | x-enduser-access-token + x-account-id |
Common query parameters
Most list endpoints support the following query parameters:
| Parameter | Description |
|---|---|
fields | JSON array of field slugs to return, e.g. ["id","name"] |
filters | JSON-encoded ComplexCondition filter object |
sortBy | JSON array of sort params, e.g. [{"fieldSlug":"createdAt","order":"DESC"}] |
offset | Pagination offset (default 0) |
limit | Page size — 1–1000 (default 20) |
fetchTotalCount | Set to true to include total record count in the paging envelope |
languageCode | BCP-47 locale for localised fields, e.g. en, fr |
Error responses
All error responses follow a uniform shape:
Code
Common HTTP status codes returned:
| Status | Meaning |
|---|---|
400 | Bad request — invalid input |
401 | Unauthorised — missing or invalid token |
403 | Forbidden — insufficient permissions |
404 | Not found |
409 | Conflict — duplicate record |
Next steps
Browse the full API Reference to explore every endpoint, try requests interactively, and view request/response schemas.