Email API Integration Guide with cURL

Minimum code that you need to integrate Mailazy with cURL


You need to complete these given prerequisites, you can skip the step if you have already completed.

  1. Sign up for a Mailazy account.
  2. Complete Domain Authentication.
  3. Generate the Mailazy Access Key

Integrate Mailazy with cURL

Start Sending mail using the code provided below:

curl --location --request POST '' \
--header 'X-Api-Key: <API KEY>' \
--header 'X-Api-Secret: <API SECRET>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "to": [""],
    "from": "Sender <>",
    "subject": "<Subject>",
    "content": [
            "type": "text/plain",
            "value": "<Content>"