---
title: "Mint a realtime token for the Journey Board Live Activity feed"
description: "Returns a short-lived, read-only Trigger.dev public access token scoped to the `sequence:<id>` run tag, so the Journey Board can subscribe to live run events for one sequence. Default ON for all workspaces; setting the SEQUENCE_JOURNEY_LIVE_FEED flag to false disables it per workspace.\n"
---

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

Path: Channel Automation API › Workspaces

`POST /api/workspaces/{workspaceId}/sequences/{id}/journey-live-token`

Returns a short-lived, read-only Trigger.dev public access token scoped to the `sequence:<id>` run tag, so the Journey Board can subscribe to live run events for one sequence. Default ON for all workspaces; setting the SEQUENCE_JOURNEY_LIVE_FEED flag to false disables it per workspace.

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Path parameters

- `workspaceId` (`post/api/workspaces/workspaceId/sequences/id/journey-live-token.path.workspaceId`; string, required) — Workspace ID
- `id` (`post/api/workspaces/workspaceId/sequences/id/journey-live-token.path.id`; string, required) — Sequence ID (flow_sequences.id)

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.channelautomation.com/api/workspaces/<workspaceId>/sequences/<id>/journey-live-token' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/workspaces/<workspaceId>/sequences/<id>/journey-live-token';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/workspaces/<workspaceId>/sequences/<id>/journey-live-token"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
```

## Responses

### 200

Token minted

#### Example

```json
{
  "success": true,
  "token": "string",
  "tag": "string"
}
```

- `success` (`post/api/workspaces/workspaceId/sequences/id/journey-live-token.response.200.success`; boolean, optional)
- `token` (`post/api/workspaces/workspaceId/sequences/id/journey-live-token.response.200.token`; string, optional)
- `tag` (`post/api/workspaces/workspaceId/sequences/id/journey-live-token.response.200.tag`; string, optional)

### 403

Feature flag disabled for this workspace

### 404

Sequence not found in this workspace

### 500

Token minting failed


Source: https://developer.channelautomations.com/api/post-api-workspaces-workspace-id-sequences-id-journey-live-token/index.md
