Broadcasts

Send a broadcast

Changed on

Sends a draft or scheduled broadcast (email campaign) immediately, ignoring any scheduled_at. Resolves the audience, drops suppressed and unsubscribed addresses, and moves the broadcast to sending.

post/broadcasts/{id}/send

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The broadcast's prefixed id (e.g. bcst_abc123).

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Response

The broadcast, now sending

Broadcast required
object, string required
id, string required
subject, string nullable required
preview_text, string nullable required
body, string nullable required
html_body, string nullable required
from, string nullable required
reply_to, string nullable required
styled, boolean required
audience, object required
audience_description, string required
status, 'draft' | 'scheduled' | 'sending' | 'sent' | 'canceled' | 'failed' required
scheduled_at, string date-time nullable required
started_at, string date-time nullable required
sent_at, string date-time nullable required
canceled_at, string date-time nullable required
stats, object required
error, string nullable required
metadata, object required
created_at, string date-time required
updated_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision