curl --request POST \
--url https://api.crevio.co/v1/emails \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "<string>",
"to": [
"<string>"
],
"subject": "<string>",
"body": "<string>",
"customer_type": "<string>",
"send_to_all": true
}
'{
"object": "email",
"recipients": 123,
"subject": "<string>",
"status": "queued"
}Sends an email to customers
curl --request POST \
--url https://api.crevio.co/v1/emails \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "<string>",
"to": [
"<string>"
],
"subject": "<string>",
"body": "<string>",
"customer_type": "<string>",
"send_to_all": true
}
'{
"object": "email",
"recipients": 123,
"subject": "<string>",
"status": "queued"
}API key in the format: Bearer {api_token}
Was this page helpful?