Dashboard

Automations

Auth Required

Change Automation Status

POSThttps://api.inboxjot.com/v1/automations/{automation_id}/status

Turns an automation on or off. Build and edit automations in the dashboard. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.

Before it turns on, Inboxjot runs the same checks as the dashboard. When one fails, the response is 400 and errors names the step to change. Runs pause while the automation is off and continue when it is on again.

POST/v1/automations/{automation_id}/status
curl -X POST https://api.inboxjot.com/v1/automations/aut_06d2mfk8r3gx6mc9qe1pb/status \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "off"
  }'
{
  "id": "aut_06d2mfk8r3gx6mc9qe1pb",
  "workspace_id": "ws_06d2mfk8r1aq9xv3jc6ne",
  "name": "Welcome series",
  "description": null,
  "status": "off",
  "trigger": {
    "type": "event",
    "event": "user.created"
  },
  "steps": {
    "s1": {
      "id": "s1",
      "type": "send_email",
      "template_id": "tpl_06d2mfk8r6hn3cx7vb2qe",
      "from": "",
      "subject": "",
      "next": "s2"
    },
    "s2": {
      "id": "s2",
      "type": "wait",
      "amount": 2,
      "unit": "days",
      "next": null
    }
  },
  "first_step_id": "s1",
  "exit": null,
  "allow_reentry": false,
  "entered_count": 120,
  "active_count": 14,
  "completed_count": 100,
  "exited_count": 6,
  "sent_count": 118,
  "creator_id": "usr_06d2mfk8r0ce7ha2pw5jx",
  "turned_on_at": "2026-10-01T12:00:00.000Z",
  "created_at": "2026-09-28T09:00:00.000Z",
  "updated_at": "2026-10-14T08:30:00.000Z",
  "trigger_label": "user.created",
  "templates": [
    {
      "id": "tpl_06d2mfk8r6hn3cx7vb2qe",
      "name": "Welcome",
      "subject": "Welcome to Acme",
      "from": "Acme <hello@acme.com>",
      "preheader": "Here is how to start."
    }
  ],
  "segments": [],
  "step_stats": {
    "s1": {
      "waiting": 0,
      "sent": 118,
      "opened": 74,
      "clicked": 21,
      "unsubscribed": 1,
      "yes": 0,
      "no": 0,
      "paths": []
    },
    "s2": {
      "waiting": 14,
      "sent": 0,
      "opened": 0,
      "clicked": 0,
      "unsubscribed": 0,
      "yes": 0,
      "no": 0,
      "paths": []
    }
  },
  "problems": []
}

Turned the automation on or off. Returns the automation.

Path Parameters

automation_idstringrequired

The automation id.

Body Parameters

statusstringrequired

on starts the automation. off stops it.

Response

idstring

The automation id.

workspace_idstring

The workspace id.

namestring

The automation name.

descriptionstring | null

A note about what the automation does.

statusstring

draft, on or off.

triggerobject | null

What starts a run for a contact. null until it is set.

stepsobject

Each step by its id. The type of a step is send_email, wait, wait_for_event, check_if, random_split, update_contact, update_topic, update_segment or track_event.

first_step_idstring | null

The id of the step that runs first.

exitobject | null

What ends a run early. null when nothing does.

allow_reentryboolean

Whether a contact can start a new run after the last one ends.

entered_countinteger

How many runs started.

active_countinteger

How many runs are in progress.

completed_countinteger

How many runs reached the last step.

exited_countinteger

How many runs stopped before the last step.

sent_countinteger

How many emails the automation sent.

creator_idstring

The id of the user who created it.

turned_on_atstring | null

When it was last turned on. null when it was never on.

created_atstring

When it was created.

updated_atstring

When it last changed.

trigger_labelstring | null

The event name, or the name of the topic or segment in the trigger.

templatesobject[]

The templates that the steps send.

segmentsobject[]

The segments that the trigger and the steps use.

step_statsobject

Counts for each step by its id: runs that wait there, emails sent, opened, clicked and unsubscribed, yes and no for a check_if step, and paths for a check_if step with several paths or a random_split step.

problemsobject[]

What stops the automation from turning on. Empty when it can turn on.

Responses

POST/v1/automations/{automation_id}/status
curl -X POST https://api.inboxjot.com/v1/automations/aut_06d2mfk8r3gx6mc9qe1pb/status \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "off"
  }'
{
  "id": "aut_06d2mfk8r3gx6mc9qe1pb",
  "workspace_id": "ws_06d2mfk8r1aq9xv3jc6ne",
  "name": "Welcome series",
  "description": null,
  "status": "off",
  "trigger": {
    "type": "event",
    "event": "user.created"
  },
  "steps": {
    "s1": {
      "id": "s1",
      "type": "send_email",
      "template_id": "tpl_06d2mfk8r6hn3cx7vb2qe",
      "from": "",
      "subject": "",
      "next": "s2"
    },
    "s2": {
      "id": "s2",
      "type": "wait",
      "amount": 2,
      "unit": "days",
      "next": null
    }
  },
  "first_step_id": "s1",
  "exit": null,
  "allow_reentry": false,
  "entered_count": 120,
  "active_count": 14,
  "completed_count": 100,
  "exited_count": 6,
  "sent_count": 118,
  "creator_id": "usr_06d2mfk8r0ce7ha2pw5jx",
  "turned_on_at": "2026-10-01T12:00:00.000Z",
  "created_at": "2026-09-28T09:00:00.000Z",
  "updated_at": "2026-10-14T08:30:00.000Z",
  "trigger_label": "user.created",
  "templates": [
    {
      "id": "tpl_06d2mfk8r6hn3cx7vb2qe",
      "name": "Welcome",
      "subject": "Welcome to Acme",
      "from": "Acme <hello@acme.com>",
      "preheader": "Here is how to start."
    }
  ],
  "segments": [],
  "step_stats": {
    "s1": {
      "waiting": 0,
      "sent": 118,
      "opened": 74,
      "clicked": 21,
      "unsubscribed": 1,
      "yes": 0,
      "no": 0,
      "paths": []
    },
    "s2": {
      "waiting": 14,
      "sent": 0,
      "opened": 0,
      "clicked": 0,
      "unsubscribed": 0,
      "yes": 0,
      "no": 0,
      "paths": []
    }
  },
  "problems": []
}

Turned the automation on or off. Returns the automation.