Generate an API key
In the MyGigsters dashboard, go to Settings → API Keys and generate a key. You receive two values:Send credentials with every request
Base64-encodeuuid:randomPasswordShowOnce and send it in the Authorization header. Also send the API version header.
Request headers
curl -u and the auth option build the Basic header for you.
The version header is required
IncludeX-API-Version: 1.2 on every request. Supported versions are 1.1 and 1.2.
If the header is missing or set to an unsupported version, the request is rejected with 400 Bad Request:
Keys are environment-specific
A key generated in the demo (QA) dashboard does not work in production, and a production key does not work in demo. See Environments.Related
API keys and rotation
Rotate keys with no downtime.
Restricted keys
Give each integration only the access it needs.
