# List broadcasts

`GET /v1/broadcasts`

- Authentication: required (Bearer token)
- Required scope: `api.broadcasts.view`

Returns the org's broadcasts, newest-first. A broadcast is a one-time,
point-in-time bulk send of a template version (or inline HTML) to a List
or Segment, with consent enforced at send. Create and send are available
under `api.broadcasts.manage` (POST /v1/broadcasts and
POST /v1/broadcasts/{id}/send); edit, reschedule, and cancel remain
dashboard-only. Cursors are opaque base64; stale or malformed cursors
silently fall back to page 1.

A broadcast sent **without an opt-out topic** degrades its unsubscribe link
to an account-wide opt-out (`unsubscribe_all`) — recipients can only leave
every send, not one stream. Prefer sending with a topic; the dashboard
requires acknowledging this before a topic-less send.

## Query parameters

- `limit` (integer, optional) — Page size (1–200). Default 50.
- `cursor` (string, optional) — Opaque cursor returned from the previous page.
- `tag` (array, optional) — Filter to entities carrying a tag with this full path name (repeatable; union/OR across values — the Gmail default). Pass `untagged=true` instead to return only entities with no tags. Applied before pagination.

## Example request

```bash
curl 'https://api.sendops.dev/v1/broadcasts' \
  -H "Authorization: Bearer $SENDOPS_API_KEY"
```

## Responses

### 200 — Cursor-paginated list of broadcasts, newest-first

Content type: `application/json`

```json
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "string",
      "content_mode": "template",
      "template_id": "string",
      "template_version": 0,
      "audience_kind": "list",
      "audience_id": "00000000-0000-0000-0000-000000000000",
      "subject": "string",
      "preview_text": "string",
      "from_identity": "string",
      "default_template_data": {},
      "topic_id": "string",
      "schedule_at": "2026-05-17T20:00:00Z",
      "state": "draft",
      "recipient_count": 0,
      "sent_count": 0,
      "failed_count": 0,
      "started_at": "2026-05-17T20:00:00Z",
      "completed_at": "2026-05-17T20:00:00Z",
      "created_at": "2026-05-17T20:00:00Z",
      "updated_at": "2026-05-17T20:00:00Z",
      "summary": {
        "audience_size": 0,
        "mailable": 0,
        "sent": 0,
        "failed": 0,
        "filtered": 0
      },
      "tags": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "string",
          "key": "string",
          "color": "string",
          "description": "string",
          "created_at": "2026-05-17T20:00:00Z",
          "updated_at": "2026-05-17T20:00:00Z"
        }
      ]
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "string"
  }
}
```

### 401 — Missing, malformed, or unknown API key

Content type: `application/problem+json`

```json
{
  "type": "https://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "invalid_key",
  "request_id": "string",
  "retry_after": 0,
  "retention_days": 0,
  "scope": "string",
  "resource": "string",
  "errors": [
    {
      "field": "string",
      "reason": "string"
    }
  ]
}
```

### 403 — Key lacks the required scope or plan limit violated

Content type: `application/problem+json`

```json
{
  "type": "https://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "invalid_key",
  "request_id": "string",
  "retry_after": 0,
  "retention_days": 0,
  "scope": "string",
  "resource": "string",
  "errors": [
    {
      "field": "string",
      "reason": "string"
    }
  ]
}
```

### 422 — Query parameter or path value failed validation

Content type: `application/problem+json`

```json
{
  "type": "https://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "invalid_key",
  "request_id": "string",
  "retry_after": 0,
  "retention_days": 0,
  "scope": "string",
  "resource": "string",
  "errors": [
    {
      "field": "string",
      "reason": "string"
    }
  ]
}
```

### 429 — Per-org rate limit exceeded

Content type: `application/problem+json`

```json
{
  "type": "https://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "invalid_key",
  "request_id": "string",
  "retry_after": 0,
  "retention_days": 0,
  "scope": "string",
  "resource": "string",
  "errors": [
    {
      "field": "string",
      "reason": "string"
    }
  ]
}
```

### 500 — Unexpected server-side failure. The `code` is `internal_error`. The
`request_id` field can be quoted to SendOps support to investigate.

Content type: `application/problem+json`

```json
{
  "type": "https://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "invalid_key",
  "request_id": "string",
  "retry_after": 0,
  "retention_days": 0,
  "scope": "string",
  "resource": "string",
  "errors": [
    {
      "field": "string",
      "reason": "string"
    }
  ]
}
```
