Messages

Fetch a sent message by id

Retrieve a single message by msg_* id. Supports short-lived server-side caching for high-frequency status polling, and ETag/If-None-Match for unchanged responses.

get/{phone_number_id}/messages/{id}

Request

  • Base URL: https://api.kirimdev.com/v1
  • URL: https://api.kirimdev.com/v1/{phone_number_id}/messages/{id}
  • Auth: HTTP bearer

Path parameters

phone_number_idstring required

Meta WhatsApp Business phone_number_id of the connected account that should send / own this resource. Discoverable via GET /v1/accounts (returned as phone_number_id on each row).

Example:106540352242922
idstring required

Public Kirimdev message ID returned by send, list, and webhook operations.

Example:msg_01HXYZABCDEFGHJKMNPQRSTVWX

Response

Message resource

request_idstring required

Unique request identifier to include when contacting support.

Example response

{
  "data": {
    "id": "msg_01HXYZABCDEFGHJKMNPQRSTVWX",
    "to": "+628123456789",
    "bsuid": "US.13491208655302741918",
    "parent_bsuid": "US.ENT.11815799212886844830",
    "username": "pablomorales",
    "reaction": {
      "message_id": "wamid.HBgN...",
      "emoji": "👍"
    }
  },
  "request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}

Changes

No recorded changes to this operation across all 1 revision of this API.