Email
Email over API
Send email over HTTP API

Send email over HTTP API


The HTTP API is the recommended option for most integrations. It provides a REST interface with JSON payloads, offering flexibility, reliability, and full control over email delivery.

Endpoint example

POST https://{base_url}/email/{version}/send


Authentication

You must authenticate your endpoint before using the Email Validation API. For implementation details, see the Email validation (opens in a new tab) API endpoints.

To configure the required API scope in your Infobip account, refer to the API scopes documentation.

For more details, see API authentication.

Request example

{ "from": "[email protected]", "to": [ "[email protected]", "[email protected]" ], "subject": "Your order is confirmed!", "text": "Hi {{firstName}}, thanks for your order.", "html": "<p>Hi <b>{{firstName}}</b>, thanks for your order.</p>", "attachments": [ { "filename": "invoice.pdf", "content": "<base64 string>" } ], "track": true, "messageId": "custom-id-123" }


Key parameters

For detailed descriptions of all available parameters, see the Email API key parameter reference.

Response example

{ "messages": [ { "to": "[email protected]", "messageId": "abc123456", "status": { "groupId": 1, "groupName": "PENDING", "id": 26, "name": "MESSAGE_ACCEPTED" } } ] }



Need assistance

Explore Infobip Tutorials

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary
Service status

Copyright @ 2006-2025 Infobip ltd.

Service Terms & ConditionsPrivacy policyTerms of use