v1

latestOpenAPI 3.0.12026-07-2471135326.0 KB
Notification

Send Message

This endpoint allows you to send a new Notification depending on the type of communication channel. you want to send (SMS, Email, RCS, WhatsApp).The channel parameter allows us to differentiate the type of communication channel between SMS, WhatsApp, Email, or RCS. That's why only this endpoint is used for the send of Notification because the channel help us to send each type of communication channel.

post/v2/notification

Request body

OR
OR
OR

Example request

{
  "channel": "EMAIL",
  "callbacks": [
    "http://www.mycalbackk.com?id=1",
    "http://www.mycalbackk.com?id=2"
  ],
  "request": {
    "message": "example text",
    "clientId": "48118112",
    "externalId": "123456789abcde",
    "to": "+580000000005|email@service.com",
    "from": "service@service.com",
    "subject": "email subject"
  }
}

Response

Accepted the request to send the notification

Example response

{
  "meta": {
    "timestamp": 1597166699457,
    "transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
    "explain": "a descriptive text"
  }
}