Broadcasts

Send a test broadcast

Changed on

Sends a test of the email campaign, rendered as contact_id (or with every variable's default when omitted), to to, with the subject prefixed [Test] . to must be the email of someone on the account's team and defaults to the authenticated user's. It goes out from the same sender and under the same sending rules as the real email and counts toward the daily email limit, but records no delivery, counts in no stats, and its unsubscribe link unsubscribes nobody. At most 5 a minute.

post/broadcasts/{id}/test

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.

Request body

EmailTestRequest required
to, string email

A team member's email address. Defaults to the authenticated user's.

contact_id, string

Render as this contact (con_...). Omit to use every variable's default.

Response

The test email went out

EmailTest required

A test email that went to a team member. It records no delivery, counts in no stats and unsubscribes nobody.

object, 'email_test' required
to, string required

The team member it was sent to.

subject, string required

The subject sent, prefixed [Test] .

provider_email_id, string nullable

The email provider's id for the message.

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

    5 more changes in this revision