Base URL
All API requests should be made to:Authentication
All endpoints require a Bearer token in the Authorization header — either an API key or an OAuth access token:Request Format
- All request bodies must be JSON
- Set the
Content-Type: application/jsonheader for POST/PUT/PATCH requests - All responses are returned as JSON
Response Format
Successful responses include the requested data:Error Handling
Error responses include anerror type and human-readable message:
HTTP Status Codes
| Status Code | Description |
|---|---|
200 | Success |
201 | Created - resource successfully created |
400 | Bad Request - invalid request body or parameters |
401 | Unauthorized - missing or invalid access token |
403 | Forbidden - insufficient permissions |
404 | Not Found - resource doesn’t exist |
429 | Too Many Requests - rate limit exceeded |
500 | Internal Server Error - something went wrong on our end |
Validation Errors
When request validation fails, the response includes details about what went wrong:Rate Limits
API requests are rate-limited to 100 requests per minute per access token. When you exceed the rate limit, you’ll receive a429 Too Many Requests response:
Pagination
Endpoints that return lists support pagination usingpage and limit query parameters:
Available Endpoints
Surveys
Create, retrieve, publish, and manage surveys.
Tags
Organize surveys with tags.
Projects
Group related surveys into projects.
Traits
Audience targeting and reporting demographics.
Media
Generate images from prompts and upload media to the CDN.
Playbooks
Step-by-step research guides.
