cURL
curl --request POST \ --url https://api.pocketflows.com/email_templates/{id}/send \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "from": "<string>", "attachments": [ { "content": "<string>", "name": "<string>" } ], "to": "<string>", "variables": {} }'
{ "id": "<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 template
The email that was sent
The response is of type object.
object