Base URL
All API requests should be made to:Authentication
To authenticate with the CookieChimp API, you need an API token. Include it in theAuthorization header of your HTTP requests as a Bearer token:
Obtaining Your API Token
There are two ways to get an API token:- Via the Dashboard: Go to your API Tokens settings page to create and manage tokens.
- Via the API: Use the Login endpoint with your email and password to receive a token.
Token Types
API tokens can belong to different bearer types:- User tokens — Access resources on behalf of a user across their accounts.
- Partner tokens — Access partner-level resources like groups.
- Account tokens — Access resources scoped to a specific account.
Rate Limits
To ensure fair usage of the API, we limit the number of requests you can make. The rate limit is 100 requests per minute. If you exceed this limit, you will receive a429 Too Many Requests response.
Pagination
List endpoints support pagination with the following query parameters:| Parameter | Description | Default |
|---|---|---|
page | Page number | 1 |
per_page | Records per page (1-50) | 20 |
pagination object with prev_url, next_url, count, page, prev, and next fields.
Errors
The API returns standard HTTP status codes. Error responses include anerrors array:
| Status Code | Description |
|---|---|
200 | Success |
401 | Unauthorized — invalid or missing API token |
404 | Not found |
422 | Validation error |
429 | Rate limit exceeded |