Skip to main content
The Automations API is served from https://automations-api.vortexiq.ai. Every request is authenticated as a Vortex IQ user and scoped to a single organisation, with a bearer token you get from the login on https://app.vortexiq.ai:

Bearer tokens (server-to-server)

Exchange your identity and your organisation’s API credential for a token on the Login endpoint:
A successful login returns the token, what it may do, when it expires, and where to send it:
Send the token on every subsequent call:
Always send Accept: application/json. Without it, a refused login can come back as an HTML page instead of the JSON errors documented here.

With an OAuth 2.0 client (Postman)

The login also accepts the OAuth 2.0 client credentials form, so an OAuth client such as Postman can fetch the token for you. Send grant_type=client_credentials as application/x-www-form-urlencoded, the client id and secret as HTTP Basic authentication, and username, email and organization_name as extra form fields. In Postman, on the request’s Authorization tab, choose OAuth 2.0 and Configure New Token: Then Get New Access Token and Use Token. Postman sends it as the bearer token on your requests to https://automations-api.vortexiq.ai.
Values in the address are ignored: send the credential and the identity in the body (or the client as HTTP Basic), never in a query string, so they never reach an access log.

What you need before you can log in

1

An API credential for your organisation

The client_id / client_secret pair is issued per organisation by Vortex IQ (see Client id & Client secret). The secret is shown once at issue time - store it in a secret manager, never in client-side code. Contact support to have a credential provisioned or rotated.
2

Automations switched on for your organisation

Automations are switched on per organisation; while they are off, every call with a token answers 403 forbidden (“Automations are switched off for this organisation.”).
3

An active Vortex IQ user in that organisation

The token acts as the person you name at login. That person’s account must be active and belong to the organisation named.

What a token may do

A token carries scopes. Each endpoint needs one, named on its page, and a call without it answers 403. Everything a token creates is recorded as made by the person named at login, through the API: created_by, created_via: api-token and api_client_id on the automation or run.

Token lifetime and revocation

  • Tokens live for 60 minutes (expires_in in the login response is authoritative). Log in again to get a fresh one - there is no refresh endpoint.
  • Rotating or disabling your organisation’s API credential invalidates every outstanding token on its next call, not just future logins. Rotation keeps the same client_id; only the secret changes.
  • A token is bound to the user and organisation it was issued for.
  • The token is a signed JWT: its claims are readable (no secrets inside), but any change invalidates it. Treat the whole token as a secret - it acts as you.
  • Login is rate limited to 10 attempts per minute (429 beyond that), and failed logins return a deliberately generic 401 invalid_credentials that does not reveal which field was wrong.

Rate limits

Up to 600 calls a minute for each person and 3,000 for each organisation, counted for the API alone: what your organisation’s people do in the Vortex IQ app is counted apart. Beyond that a call answers 429 with a Retry-After header giving the seconds to wait; nothing was done. Polling a running run every few seconds stays far below the limit.

Browsers

Call the API from your server, scripts or CI. Browsers are allowed to call it only from the Vortex IQ app’s own pages (CORS); a page on another site cannot use it directly.

Answers

Every answer is JSON in the same envelope. A success carries data:
A refusal carries a stable code to act on, plain words in message, and errors by field for a 422:

Errors you may hit