cURL
curl --request POST \ --url https://api.pocketflows.com/campaigns/{id}/check_sendability \ --header 'Authorization: Basic <encoded-value>'
{ "sendable": true, "errors": { "business_missing_variables": [ "<string>" ], "campaign_missing_variables": [ "<string>" ], "customers_missing_variables": [ { "id": "<string>", "missing_variables": [ "<string>" ] } ], "unknown_variables": [ "<string>" ] } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the campaign
The sendability of the campaign
Whether the campaign is sendable
The errors if the campaign is not sendable. Only returned if sendable is false
sendable
false
Show child attributes
The missing variables for the business
The missing variables for the campaign
The missing variables for the customers
The ID of the customer
The missing variables for the customer
The unknown variables in the campaign