Skip to main content

API policies

The technical rules every integration with heycreo works within: how many requests it may send, how large they may be, how long credentials last, how webhooks are delivered and how the API changes. They apply to the REST API and the MCP server alike.

Rate limits​

WhatLimit
All requests200 per minute from one IP address
Uploading media (assets/upload, assets/reserve)120 per minute
Uploading media through MCP60 per minute
Generating a caption30 per hour
Tokens from POST /oauth/token20 per minute per client, 60 per minute per IP address

Each response reports the limit that applies:

Header
X-RateLimit-LimitRequests allowed in the window
X-RateLimit-RemainingRequests left in the window
X-RateLimit-ResetSeconds until the window starts again

Above the limit, heycreo answers 429 Too Many Requests with a Retry-After header in seconds. Wait that long before the next request, and spread large imports over time rather than sending them in parallel. A client-credentials token lasts an hour: fetch one and reuse it, rather than one per request.

Request size​

WhatLimit
JSON body2 MB; 50 MB for designs, templates, datasets, the brand kit and MCP
Media upload1 GB per file; 100 MB through MCP
Template import100 MB per file

A body with a property the endpoint does not know is refused with 400.

Credentials​

  • API keys expire after one year unless you choose otherwise, at most after two years, or explicitly never. A service account holds up to two active keys, so you can put a new one in place before you revoke the old.
  • Client-credentials tokens are valid for 60 minutes. There is no refresh token.
  • IP ranges: a service account can be limited to the addresses your system calls from. A request from elsewhere is refused with 401.
  • Keep credentials on a server. heycreo answers browser requests only from its own sites; a key in a web page or an app bundle is readable by anyone who loads it.

See Service accounts and Authentication.

Webhooks​

EndpointsUp to 10 per workspace, https only
Timeout10 seconds per delivery; answer 2xx first, then work
RetriesUp to 6 attempts with growing pauses, starting at one minute, for 408, 429, 5xx, timeouts and network errors. Redirects are not followed.
Switched offAfter 20 failed deliveries in a row; switch it on again on the service account's Webhooks tab
Delivery log30 days
Signatureheycreo-signature, rejected when its time is more than 5 minutes off

See Webhooks.

Changes to the API​

The API has one version. Every response carries X-API-Version: 1.0.

heycreo adds to the API without notice: new endpoints, new optional fields in requests, new fields in responses, new webhook events. Write your integration so that it ignores fields and events it does not know.

A change that breaks existing integrations — removing or renaming an endpoint or a field, a new required field, a narrower set of allowed values — is announced at least three months before it takes effect. Until then, the old behaviour keeps working.

Still accepted, but on their way out:

Instead ofUse
The workspace's slug in the path (/organizations/acme/…)Its UUID, shown on the service account's Access tab
/mcp-auth/… for OAuth/oauth/…

Retrying safely​

Creating a publication accepts an idempotencyKey: sent again, for example after a timeout, the same key returns the publication created the first time instead of a second one. Webhook events carry heycreo-event-id, which stays the same across retries.