cURL
curl --request POST \ --url https://api.useplunk.com/v1/send \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: <content-type>' \ --data '{ "to": "<string>", "subject": "<string>", "body": "<string>", "subscribed": true, "name": "<string>", "from": "<string>", "reply": "<string>", "headers": {}, "attachments": {} }'
{ "success": true, "emails": [ { "contact": { "id": "80d74d13-16eb-48c5-bc2b-aae6fd5865cc", "email": "hello@useplunk.com" }, "email": "ebd44b76-9e1d-4826-96a1-9a240c42a939" }, { "contact": { "id": "8f33fe24a-1ce7-4498-8769-f80d67b4e59d", "email": "billing@useplunk.com" }, "email": "bd2d0ece-7a4e-48b8-a8be-be5af077adc1" } ], "timestamp": "1970-01-01T00:00:00.000Z" }
Send emails with a single API call.
application/json
Show properties
Show Contact