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

# Sequences API

> Programmatically manage sequences (email and SMS steps), enroll contacts, and track engagement.

Sequences are created and edited in the dashboard. The API lets you list and inspect sequences and their steps, enroll and unenroll contacts, view analytics, and manage unsubscribes. Sequences with **SMS** steps require a valid **Send from number** and Salesmsg setup as described in the [Salesmsg integration](/integrations/salesmsg) guide.

## Available Endpoints

| Method   | Endpoint                                          | Description                |
| -------- | ------------------------------------------------- | -------------------------- |
| `GET`    | `/api/v1/sequences`                               | List all sequences         |
| `GET`    | `/api/v1/sequences/:id`                           | Get sequence details       |
| `GET`    | `/api/v1/sequences/:id/steps`                     | List a sequence's steps    |
| `GET`    | `/api/v1/sequences/:id/analytics`                 | Get sequence analytics     |
| `GET`    | `/api/v1/sequences/:id/enrollments`               | List enrollments           |
| `POST`   | `/api/v1/sequences/:id/enrollments`               | Enroll a contact           |
| `DELETE` | `/api/v1/sequences/:id/enrollments/:enrollmentId` | Unenroll a contact         |
| `GET`    | `/api/v1/sequences/unsubscribes`                  | List unsubscribed contacts |
| `POST`   | `/api/v1/sequences/unsubscribes`                  | Add unsubscribes           |

<Info>
  **Authentication**

  All Sequences API endpoints require a valid API key passed via the `Authorization: Bearer YOUR_API_KEY` header.
  Get your API key from the [Developer Portal](https://orbitforms.ai/developer-portal).
</Info>

<CardGroup cols={2}>
  <Card title="Sequences Guide" icon="book" href="/guides/sequences">
    Learn how sequences work
  </Card>

  <Card title="Rate Limits" icon="gauge" href="/developers/api/rate-limits">
    API rate limit details
  </Card>
</CardGroup>
