Check a broadcast before you send it
POST/v1/broadcasts/{id}/check
The same checks as for a template, on a broadcast’s content, plus a missing subject. Pass live: true to also open its links. Run it before you send.
Required scope: broadcasts:manage
Parameters
| Name | In | Description |
|---|---|---|
idrequired | path | The broadcast id. |
Example
curl -X POST 'https://api.sendsend.email/v1/broadcasts/ID/check' \
-H "Authorization: Bearer $SENDSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"live": false
}'Response 200
{
"object": "email_check",
"links_checked": null,
"ok": true,
"errors": 0,
"warnings": 0,
"findings": []
}Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such resource in this project. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
Every error has the same shape. See Errors.