Message Info

Use this API to get the message details

Parameter Description:

ParameterRequiredDefaultDescription
keyYesunique identifier of message

Example Response:

  • In case of One to One Message: Suppose user1 sends a message to user2.
{
  "status": "success",
  "generatedAt": 1490168160713,
  "response": [
    {
      "userId": "user2",
      "deliveredAtTime": 1490168151068,
      "status": 4      // delivered to user2
    }
  ]
}
  • In case of Group Message: Suppose user1 sends a message to group having users: user2, user3, user4
{
  "status": "success",
  "generatedAt": 1490168526401,
  "response": [
    {
      "userId": "user2",
      "deliveredAtTime": 1490168482844,
      "status": 4     // delivered to user2
    },
    {
      "userId": "user3",
      "deliveredAtTime": 1490168483132,
      "readAtTime": 1490168523731,
      "status": 1    // read by user3
    }
  ]
}

📘

Note:

Message is neither delivered nor read by user4.

Language
Authentication
Click Try It! to start a request and see the response here!