POST
cURL

Authorizations

X-Agent-Key
string
header
required

Service-account key, format sq_agt_*. Carries least-privilege scopes.

Headers

Idempotency-Key
string
required

Unique per logical operation; identical key+body returns the cached response, different body → 409.

Maximum string length: 200

Body

application/json
name
string
required
type
enum<string>
required
Available options:
EMAIL,
SMS,
PUSH_NOTIFICATION
audience_id
string
audience_filters
object
subject
string
email_html_content
string
sms_message
string
push_title
string

Response

200

OK