Skip to content

Reference: get message

Example request and response for GET /v1/messages/{messageID}.

Updated View as Markdown

Endpoint

GET /v1/messages/{messageID}

Get one message record by ID.

Path parameter

  • field string (required) — Message UUID.

Request example:

curl -X GET "https://api.wazapin.com/v1/messages/9f1fd66d-c37a-4b50-a8c2-b4dca523f9c8" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Accept: application/json"

Response example:

{
  "id": "9f1fd66d-c37a-4b50-a8c2-b4dca523f9c8",
  "channel_id": "wzp_abc123",
  "to_phone": "6281234567890",
  "type": "text",
  "status": "sent",
  "provider_message_id": "wamid.HBgL...",
  "created_at": "2026-03-04T06:20:10Z",
  "updated_at": "2026-03-04T06:20:20Z"
}

to_phone is the recipient address stored on the message. For unofficial channels it may be a WhatsApp JID (for example 6281234567890@c.us); use to for display-friendly input when sending.

{
  "title": "Not Found",
  "status": 404,
  "detail": "message not found"
}
Navigation

Type to search…

↑↓ navigate↵ selectEsc close