OrgSequences

Start a new sequence

Creates an empty sequence in `draft`. The canvas fills in the steps and arrows, then saves them with PUT. `org_id` and `created_by` are always taken from the session, never the request body.

POST
/org/sequences

Creates an empty sequence in draft. The canvas fills in the steps and arrows, then saves them with PUT. org_id and created_by are always taken from the session, never the request body.

AuthorizationBearer <token>

API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...

In: header

Request Body

application/json

name*string
Length1 <= length <= 255
description?|
project_id?|
table_id?|

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://loading/api/v1/org/sequences" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "description": "string",
    "status": "draft",
    "entry_node_id": "309c9c20-703c-4647-be34-6fd6edeb7c28",
    "send_window_start": "string",
    "send_window_end": "string",
    "send_timezone": "string",
    "send_on_weekends": true,
    "one_per_district": true,
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "table_id": "ac92386a-00cc-4818-bf43-1a666d5a5e67",
    "table_name": "string",
    "max_sends_per_enrollment": -9007199254740991,
    "created_at": "string",
    "updated_at": "string",
    "node_count": -9007199254740991,
    "active_enrollments": -9007199254740991
  }
}
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}
{
  "error": "module_required",
  "module": "string",
  "message": "string",
  "contact": "string"
}