Blasts
Send a blast
Changed onSends a Blast.
post/accounts/{account_id}/blasts
Request
- Base URLhttps://api.surge.app
- URLhttps://api.surge.app/accounts/{account_id}/blasts
- AuthHTTP bearer
Path parameters
account_idstring required
The account for which the blast should be sent.
Example:acct_01j9a43avnfqzbjfch6pygv1td
Request body
Example request
{
"attachments": [
{
"url": "https://example.com/image.jpg"
}
],
"body": "Join us for our grand opening!",
"from": "+18015552345",
"name": "Grand Opening Announcement",
"send_at": "2024-02-01T15:00:00Z",
"to": [
"aud_01j9dy8mdzfn3r0e8x1tbdrdrf",
"ctc_01j9dy8mdzfn3r0e8x1tbdrdrf",
"+18015551234",
"+18015555678"
]
}Response
Created blast
Example response
{
"attachments": [
{
"url": "https://example.com/image.jpg"
}
],
"body": "Join us for our grand opening!",
"id": "bst_01j9dy8mdzfn3r0e8x1tbdrdrf",
"name": "Grand Opening Announcement",
"send_at": "2024-02-01T15:00:00Z"
}Changes
- breaking
the response property
became nullable for the status - info
the request property
became nullable
- breaking
- info
added the new optional request property
- info