cURL
curl --request POST \ --url https://api.pocketflows.com/email_blasts/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "segment": "<string>", "enrolled_customers": [ "<string>" ], "excluded_customers": [ "<string>" ], "email_address": "<string>", "scheduled_at": "<string>", "email_template": "<string>" }'
{ "id": "<string>", "name": "<string>", "email_template": "<string>", "one_off_email_template": "<string>", "subject": "<string>", "template_json": "<any>", "enrolled_customers": [ "<string>" ], "excluded_customers": [ "<string>" ], "segment": "<string>", "email_address": "<string>", "status": "<string>", "scheduled_at": "<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 email blast
The updated EmailBlast object
EmailBlast
The response is of type object.
object