cURL
curl --request POST \ --url https://api.pocketflows.com/email_addresses/{id}/send \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>", "subject": "<string>", "body": "<string>" } '
{ "ok": true }
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
The email address to send the email to
The subject of the email
The body of the email
A confirmation that the email was sent
Whether the email was sent successfully