GET
/
chat
/
Message
/
{chat_message_id}
.json
curl -X GET \
-H "Content-Type: application/json" \
-H "QB-Token: 1319b4991186601ccf4df2d0fa89565f68012bba" \
https://api.quickblox.com/chat/Message/66f2a030bba14b4c2e000000.json
{
  "message": "hello",
  "attachments": [],
  "_id": "66f2a030bba14b4c2e000000",
  "created_at": "2024-09-24T11:19:12Z",
  "updated_at": "2024-09-24T11:19:12Z",
  "chat_dialog_id": "66ed332108a4fb0d2dc2d147",
  "date_sent": 1727176752,
  "sender_id": 20618,
  "recipient_id": 0,
  "read_ids": [
    20618
  ],
  "delivered_ids": [
    20618
  ],
  "read": 0
}

Path Parameters

chat_message_id
string
required
ID of the message. Generated automatically by the server after message creation.

Headers

QB-Token
string
required
A user or application session token. See our Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
Authorization
string
default:"ApiKey {your_api_key}"
API key from Dashboard. Expected format: ApiKey {your_api_key}. Must be used either QB-Token or Authorization.
On-Behalf-Of
string
User ID. The user ID of the user on whose behalf the request is being made.

Responses

curl -X GET \
-H "Content-Type: application/json" \
-H "QB-Token: 1319b4991186601ccf4df2d0fa89565f68012bba" \
https://api.quickblox.com/chat/Message/66f2a030bba14b4c2e000000.json
{
  "message": "hello",
  "attachments": [],
  "_id": "66f2a030bba14b4c2e000000",
  "created_at": "2024-09-24T11:19:12Z",
  "updated_at": "2024-09-24T11:19:12Z",
  "chat_dialog_id": "66ed332108a4fb0d2dc2d147",
  "date_sent": 1727176752,
  "sender_id": 20618,
  "recipient_id": 0,
  "read_ids": [
    20618
  ],
  "delivered_ids": [
    20618
  ],
  "read": 0
}