POST /v1/actions/get-sequence

Fetch a sequence by id with its name, publish state, and lifetime session count.

Fetches a sequence by id. Returns its name, publish state, and lifetime session count. Does not return the graph — use the dashboard for that.

POST /api/v1/actions/get-sequence

Request body

Field Type Required
sequence_id UUID yes
curl -X POST https://www.qyvo.io/api/v1/actions/get-sequence \
  -H "Authorization: Bearer YOUR_TOKEN_HERE" \
  -H "Content-Type: application/json" \
  -d '{"sequence_id": "01J3S..."}'
const sequence = await fetch('https://www.qyvo.io/api/v1/actions/get-sequence', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QYVO_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ sequence_id: '01J3S...' }),
}).then((r) => r.json());
$sequence = Http::withToken(env('QYVO_TOKEN'))
    ->post('https://www.qyvo.io/api/v1/actions/get-sequence', [
        'sequence_id' => '01J3S...',
    ])
    ->json();
import os, httpx
sequence = httpx.post(
    'https://www.qyvo.io/api/v1/actions/get-sequence',
    headers={'Authorization': f"Bearer {os.environ['QYVO_TOKEN']}"},
    json={'sequence_id': '01J3S...'},
).json()

Response — 200 OK

{
  "id": "01J3S...",
  "name": "Welcome 7-day",
  "status": "published",
  "sessions_count": 1842,
  "published_at": "2026-04-15T10:32:00+00:00",
  "created_at": "2026-04-14T09:00:00+00:00"
}
Field Values
status draft (no published_at) or published
sessions_count All-time session count, including completed and expired