> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Sequence

> Get sequence metadata, graph topology, and editable email steps

# Get Sequence

Returns one sequence with its automation nodes, edges, graph revision, and
editable email steps. Pass `graphRevision` back with `graphEdit` when updating
the topology so a stale client cannot overwrite a newer graph change. Each
linked email includes its effective `emailPreset` (`branded` or `minimal`), the
same value shown under **Style > Format** in the dashboard. Native block emails
can include supported custom HTML blocks and still return their format. An email
stored entirely as one standalone raw HTML block returns `null`.

## Request

<ParamField path="sequenceId" type="string" required>
  Sequence ID.
</ParamField>

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/sequences/seq_abc123" \
  -H "Authorization: Bearer seq_live_xxx"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "sequence": {
      "id": "seq_abc123",
      "name": "Welcome Sequence",
      "status": "draft",
      "trigger": "trigger_list",
      "senderProfileId": "sender_abc123",
      "fromName": "Acme",
      "fromEmail": "hello@example.com",
      "replyProfileId": "reply_abc123",
      "replyToName": "Support",
      "replyToEmail": "support@example.com",
      "sendingWindow": {
        "enabled": true,
        "timezone": "Europe/Kiev",
        "startTime": "08:00",
        "endTime": "20:00",
        "days": ["monday", "tuesday", "wednesday", "thursday", "friday"]
      },
      "graphRevision": "48ab6d78a2d4f2b7d2d36d8e1dba9ea3f411bb65059b627a2b8268b4e81d8f7a",
      "nodes": [
        {
          "id": "node_trigger",
          "nodeType": "trigger_list",
          "config": { "triggerType": "contact_added" }
        },
        {
          "id": "node_abc123",
          "nodeType": "action_email",
          "config": {
            "emailId": "email_abc123",
            "stepNumber": 1,
            "emailPreset": "minimal"
          }
        },
        {
          "id": "node_end",
          "nodeType": "action_webhook",
          "config": { "isEndNode": true }
        }
      ],
      "edges": [
        {
          "sourceNodeId": "node_trigger",
          "targetNodeId": "node_abc123"
        },
        {
          "sourceNodeId": "node_abc123",
          "targetNodeId": "node_end"
        }
      ],
      "emails": [
        {
          "nodeId": "node_abc123",
          "emailId": "email_abc123",
          "stepNumber": 1,
          "name": "Welcome Sequence - Email 1",
          "subject": "Welcome to Acme",
          "previewText": null,
          "emailPreset": "minimal",
          "delayNodeId": null,
          "delayMode": null,
          "delayMs": null,
          "waitUntil": null,
          "delayDisplay": null,
          "delayDescription": null,
          "blocks": []
        }
      ],
      "createdAt": "2026-04-20T10:00:00.000Z",
      "enrichmentStatus": "complete",
      "emailCount": 1,
      "enrichedCount": 1
    }
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "No companies found. Create a company first using the create_company tool."
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Sequence not found"
  }
  ```
</ResponseExample>
