Skip to main content
POST
/
campaigns
/
{id}
/
check_sendability
Check the sendability of a campaign
curl --request POST \
  --url https://api.pocketflows.com/campaigns/{id}/check_sendability \
  --header 'Authorization: Basic <encoded-value>'
{
  "sendable": true
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the campaign

Response

200 - application/json

The sendability of the campaign

sendable
boolean
required

Whether the campaign is sendable

errors
object

The errors if the campaign is not sendable. Only returned if sendable is false