application/json

Body Required

  • deviceId string(uuid) Required
  • to string Required
  • body string Required

Responses

  • 202 application/json

    Message accepted

    Hide response attributes Show response attributes object
    • messageId string
    • status string
POST /messages/send
curl \
 --request POST 'https://api.pairfon.com/messages/send' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"deviceId":"string","to":"string","body":"string"}'
Request examples
{
  "deviceId": "string",
  "to": "string",
  "body": "string"
}
Response examples (202)
{
  "messageId": "string",
  "status": "string"
}