Hoppa till innehållet

Get a broadcast

GET/v1/broadcasts/{id}

TypeScript sendora.broadcasts.get(broadcastId)

Python sendora.broadcasts.get(broadcast_id)

PHP $sendora->broadcasts->get($broadcastId)

Java sendora.broadcasts().get(broadcastId)

Key sk_… a server key

The broadcast and how far it has come: its status, the counts of messages released and failed, and what tracking recorded of its opens and clicks.

Parameters

  • idin pathstring (uuid)required

    The broadcast id.

Responses

Every field of a response is always present. A field that can be null says so in its type.

200A broadcast, how far it has come and what tracking recorded of it.

Example (27 lines)
{
  "broadcastId": "2f1c8a4e-3b6d-4f0a-9c21-7d5e6a8b9c01",
  "streamId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "status": "processing",
  "from": "news@acme.se",
  "subject": "News from Acme in October",
  "tag": "newsletter-2026-10",
  "metadata": {},
  "total": 2,
  "released": 1,
  "failed": 0,
  "suppressed": 0,
  "submittedAt": "2026-10-01T08:00:00.000Z",
  "completedAt": null,
  "opened": 1,
  "openedByPeople": 1,
  "clicked": 1,
  "clickedByPeople": 1,
  "links": [
    {
      "index": 0,
      "url": "https://acme.se/news/october",
      "clicked": 1,
      "clickedByPeople": 1
    }
  ]
}
  • broadcastIdstring (uuid)
  • streamIdstring (uuid)

    The broadcast stream the messages go on.

  • status"accepted" | "processing" | "completed" | "cancelled"

    accepted until the first message leaves, processing while messages are leaving, completed when every message has left or failed, cancelled once cancelled.

  • fromstring
  • subjectstring
  • tagstring or null
  • metadatamap of string to string
  • totalinteger

    Messages stored, after suppressed addresses were dropped.

  • releasedinteger

    Messages handed to the mail server so far.

  • failedinteger

    Messages that could not be handed over, cancelled ones included.

  • suppressedinteger

    Addresses dropped from the list for standing on the stream’s suppression list.

  • submittedAtstring (date-time)
  • completedAtstring (date-time) or null

    Set once nothing is left to send, or on cancel.

  • openedinteger

    Recipients with an open, machines’ included, or a click that was likely a person’s.

  • openedByPeopleinteger

    Those of them likely to be people.

  • clickedinteger

    Recipients who clicked a link, machines’ included.

  • clickedByPeopleinteger

    Those of them likely to be people.

  • linksarray of object

    Each tracked link that has a click, by its index, counted from the clicks each recipient keeps.

    • indexinteger

      The link’s position in the HTML, the same in every copy, counting from 0.

    • urlstring or null

      Where the first click led, since a substitution can give a link another URL per recipient; null once it has gone with the content.

    • clickedinteger

      Recipients who clicked this link, machines’ included.

    • clickedByPeopleinteger

      Those of them likely to be people.

Errors

Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.

CodeStatusMeaning
unauthorized401The key is missing, malformed or revoked.
wrong_token_kind403The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.
not_for_connections403A connected app called an operation that no tool of the MCP server calls. An API key can.
read_only_connection403A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.
test_server_only403A connected app may create a secret, or do what cannot be undone, on a test server only.
not_found404No such broadcast of this server.
  • WWW-Authenticateheader on 401"Bearer"

    Always Bearer: send the key as Authorization: Bearer <key>.