Rate limit
The public API limit is 500 requests per minute. When you exceed this limit, the API responds with HTTP429 Too Many Requests.
Request IDs
Every response from the Heymarket API includes anX-Request-Id header:
X-Request-Id so the team can find the exact request.
Error codes
The table below covers the most common HTTP status codes returned by the API.| Status code | Name | Description |
|---|---|---|
400 | bad_data | The request body is malformed or contains invalid fields. Fix the request before retrying. |
401 | Unauthorized | The request is missing valid authentication credentials. Check the Authorization header and signed JWT. |
403 | Denied | The credentials are valid, but the team or sender does not have access to perform the requested action. |
429 | Rate limit exceeded | You have sent more than 500 requests in the current minute. Wait and retry with exponential backoff. |
500 | Server error | An unexpected error occurred on the Heymarket side. Retry the request after a brief delay. If the error persists, contact support with the X-Request-Id. |
A
400 error will not resolve by retrying. Read the error response body for details about which field failed validation, fix your request, and then send it again.