Skip to main content
The SmartAlex REST API allows each API key 60 requests a minute and returns lists in pages of up to 100. Every failed request gets a JSON error that says what went wrong. Most errors come from the key, its scopes, the workspace’s add-ons or the rate limit, and each has a plain fix below.
In SmartAlex: see each key’s scopes, expiry and last use on the API keys tab of Webhooks & API. Go to Settings → Webhooks & API, then Open or a key’s name in the API keys panel.

What is the rate limit?

Each key may make 60 requests a minute. Every response carries the headers below, so your code can slow down before it hits the limit. Past the limit, the API answers 429:
Give each system its own key, so a busy sync does not use up the limit of another.

How do paging and filters work?

List endpoints take two query parameters: The meta block shows where you are:
To read everything, ask for page=1, then page=2 and so on. Stop when you have meta.total records. Any other query parameter is passed to the endpoint as a filter. For example, GET /contacts?updated_since=2026-11-01T00:00:00Z returns contacts changed since that time, and view=crm returns the shape a CRM sync expects.

How should my code handle a response?

Retry only the errors that can pass on a second try. This diagram shows what to do with each status.

What does each error mean?

Errors come back as { "error": "...", "code": "..." }, where code is there when the error has one.

400: the request body is not valid

The message names each field that failed, for example first_name: Required. Fix the field and send it again.

401: the key is missing, wrong or expired

402: the workspace needs an add-on

The REST API needs the Power Tools add-on on the workspace. The body also carries code and addon, so your code can tell this apart from a permission error. Add it in SmartAlex under Settings → Billing. Add-ons.

403: the key may not do this

404: not found

“No route found for GET /…” means the path or method is wrong; check it against this reference. Other 404s mean the ID does not exist in this workspace.

500: something failed on our side

Try again after a short wait. If it keeps happening, email support@getsmartalex.com with the endpoint and the time.

Questions people ask

Each API key may make 60 requests a minute. Past that the API answers 429 with a Retry-After header. Give each system its own key so they do not share one limit.
Up to 100. List endpoints return 25 by default; set per_page up to 100 and step through page 1, 2, 3 until you have meta.total records.
The key was created without the scope that endpoint needs. Create a key with that scope in Webhooks & API, or ask our support team for scopes you cannot add yourself.

Getting started

Base URL, first request and response shape.

Keys and scopes

What each scope allows, and who adds it.

MCP error reference

Errors an AI app sees.

Webhooks

Delivery retries and failures.
Last modified on November 27, 2026