Loading developer portal
Preparing the API reference and documentation.
Loading developer portal
Preparing the API reference and documentation.
Sends a notification to the user using their Emirates Id or phone number.
This endpoint requires Bearer (JWT) authentication obtained from /auth/authenticate.
Behavior & rules:
from, to, subject and at least one of text or html.to) can be any special receiver codes (trade license tr..., contract ca..., phone number of 12 digits, Emirates ID 784 + 12 digits, or ERN of 19 alphanumeric characters). Invalid formats return INVALID_RECIPIENT_ADDRESS.Validation & errors:
filename and a valid HTTP/HTTPS url.INVALID_PAYLOAD, VALIDATION_ERROR, SENDER_NOT_ALLOWED, RECEIVER_DOMAIN_NOT_ALLOWED, INVALID_RECIPIENT_ADDRESS, EMAIL_SEND_FAILED, SENDER_VALIDATION_ERROR, EMAIL_SEND_ERROR.On success the endpoint returns a confirmation including to, subject and an eventId for the published email event.
Bearer Please enter into field the word 'Bearer' followed by a space and the JWT value.
In: header
application/json
The email request containing sender, recipient, subject, content, and optional attachments.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json