Send

https://rest.msgowl.com/messages

POST to schedule a message for instant delivery.

Request payload example

Single Recipient

{
  "recipients": "9609848571",
  "sender_id": "MessageOwl",
  "body": "The message to be sent"
}

Multiple Recipients

{
  "recipients": "9609848571,9609876543", // comma separated string
  "sender_id": "MessageOwl",
  "body": "The message to be sent"
}
{
  "recipients": ["9609848571","9609876543"], // array of strings
  "sender_id": "MessageOwl",
  "body": "The message to be sent"
}

Response example

{
  "message": "Message has been sent successfully.",
  "id": 8848
}

Balance

https://rest.msgowl.com/balance

GET to check current account balance.

Response example

{
  "balance": "130.6347",
}

Was this helpful?

Next: OTP API