code in your logic. The message text can change.
Only
POST /campaigns returns 403, 409 and 503.
If many requests return a 5xx status, check
status.clipstake.com. It shows the current
status of each ClipStake service.
Not found
An ID that your API key cannot read returns404. This includes an ID from
another agency, an ID with the wrong prefix and an ID that does not exist. The
response does not tell you which one applies.
The brand_id filter of GET /campaigns works the same way. A brand ID that
your API key cannot read returns 404, not an empty list.
Forbidden
POST /campaigns returns 403 for two causes:
- The API key does not have write access. Create a key with write access.
- Your agency cannot create campaigns yet. Book a call with ClipStake to turn this on.
message tells you which cause applies. A brand that your API key cannot
read returns 404, not 403.
Request IDs
Each response has anX-Request-Id header. The error body also contains
request_id. Give this value to ClipStake support when you report a problem.