# List Automations

`GET https://api.inboxjot.com/v1/automations`

Lists the automations of the workspace, last updated first. Needs a Full key. A key limited to one domain answers 403.

Lists are paged with cursors. Read `next_cursor` and send it as `after` for the next page. A page has 50 items unless you set `per_page`, up to 100.

## Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | No | Text to find in the name, up to 200 characters. |
| `status` | string | No | One or more of `draft`, `on` and `off`, split by commas. |
| `sort` | string | No | `updated`, `name` or `entered`. Defaults to `updated`. |
| `direction` | string | No | `asc` or `desc`. Defaults to `desc`. |
| `per_page` | integer | No | How many items to return, from 1 to 100. Defaults to 50. |
| `after` | string | No | A `next_cursor` from the last page. Returns the items after it. |
| `before` | string | No | A `prev_cursor` from the last page. Returns the items before it. When you send both, `before` wins. |

## Response

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `next_cursor` | string \| null | No | Send it as `after` to get the next page. `null` on the last page. |
| `prev_cursor` | string \| null | No | Send it as `before` to get the page before. `null` on the first page. |
| `data` | object[] | No | The automations on this page. |
| `data[].id` | string | No | The automation id. |
| `data[].name` | string | No | The automation name. |
| `data[].description` | string \| null | No | A note about what the automation does. |
| `data[].status` | string | No | `draft`, `on` or `off`. |
| `data[].trigger` | object \| null | No | What starts a run for a contact. `null` until it is set. |
| `data[].trigger.event` | string | No | The event name that starts a run, such as `user.created`. |
| `data[].trigger.conditions` | object \| null | No | Start a run only when the event data matches. Rules use `data.<path>` fields. |
| `data[].trigger.conditions.match` | string | No | `all` needs every rule. `any` needs one. |
| `data[].trigger.conditions.rules` | array | No | Up to 20 rules in all. A rule can be a group of rules, one level deep. |
| `data[].trigger.type` | string | No | Always `event`. |
| `data[].entered_count` | integer | No | How many runs started. |
| `data[].active_count` | integer | No | How many runs are in progress. |
| `data[].sent_count` | integer | No | How many emails the automation sent. |
| `data[].turned_on_at` | string \| null | No | When it was last turned on. `null` when it was never on. |
| `data[].created_at` | string | No | When it was created. |
| `data[].updated_at` | string | No | When it last changed. |
| `data[].trigger_label` | string \| null | No | The event name, or the name of the topic or segment in the trigger. |

## Request

cURL:

```bash
curl -X GET https://api.inboxjot.com/v1/automations \
  -H "Authorization: Bearer $INBOXJOT_API_KEY"
```

## Responses

| Status | Description |
| --- | --- |
| 200 | Returns a page of automations. |
| 400 | A parameter is missing or invalid. |
| 401 | The API key is missing, revoked or expired. |
| 403 | The key is a Sending key or is limited to one domain, or the request comes from outside its IP allowlist. |
| 429 | Too many requests for this key. Wait for the seconds in the Retry-After header. |
| 500 | Something failed on our side. Retry later. |

200:

```json
{
  "next_cursor": null,
  "prev_cursor": null,
  "data": [
    {
      "id": "aut_06d2mfk8r3gx6mc9qe1pb",
      "name": "Welcome series",
      "description": null,
      "status": "on",
      "trigger": {
        "type": "event",
        "event": "user.created"
      },
      "entered_count": 120,
      "active_count": 14,
      "sent_count": 118,
      "turned_on_at": "2026-10-01T12:00:00.000Z",
      "created_at": "2026-09-28T09:00:00.000Z",
      "updated_at": "2026-10-01T12:00:00.000Z",
      "trigger_label": "user.created"
    }
  ]
}
```

400:

```json
{
  "name": "validation_error",
  "status": 400,
  "message": "Invalid cursor",
  "errors": [
    {
      "message": "Invalid cursor",
      "location": "after"
    }
  ],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

401:

```json
{
  "name": "unauthorized",
  "status": 401,
  "message": "Unauthorized",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

403:

```json
{
  "name": "forbidden",
  "status": 403,
  "message": "This key cannot be used from 203.0.113.7",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

429:

```json
{
  "name": "rate_limit_exceeded",
  "status": 429,
  "message": "Too many attempts. Try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```

500:

```json
{
  "name": "unknown_error",
  "status": 500,
  "message": "Something went wrong. Please try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}
```
