Learn how to authenticate requests to the Pivot API using your integration’s API key.
All requests to the Pivot API must be authenticated using your integration’s API key. This is done through the HTTP Authorization header.
When you make a request to the Pivot API, include your API key in the following format:
Authorization: Bearer YOUR_API_KEY
The word Bearer must be followed by a space and then your full API key.
For example, using curl:
curl ‘https://api.pivot.app/v1/spaces’ -H ‘Authorization: Bearer YOUR_API_KEY’
This key uniquely identifies your integration and controls what data and actions it has access to.
Authenticated API requests are limited to 60,000 requests per minute for each integration and 60,000 requests per minute across all integrations in the same organization.
Every authenticated API response includes:
RateLimit-Limit: the applicable limit closest to being exhausted.RateLimit-Remaining: the number of requests remaining in that window.RateLimit-Reset: the number of seconds until the window resets.When a limit is exceeded, the API returns 429 Too Many Requests and includes
Retry-After with the number of seconds to wait before retrying.
Was this guide helpful?