Skip to main content
GET
/
v1
/
whatsapp
/
messages
/
inbound
/
{id}
Obter mensagem recebida por ID
curl --request GET \
  --url https://api.notifique.dev/v1/whatsapp/messages/inbound/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "workspaceId": "<string>",
    "instanceId": "<string>",
    "externalMessageId": "<string>",
    "from": "<string>",
    "body": "<string>",
    "receivedAt": "2023-11-07T05:31:56Z",
    "relatedMessageId": "<string>",
    "instance": {
      "name": "<string>",
      "phoneNumber": "<string>"
    },
    "relatedMessage": {
      "id": "<string>",
      "to": "<string>",
      "status": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key no header Authorization. Exemplo: Authorization: Bearer sk_live_xxxxx

Path Parameters

id
string
required

Response

Detalhe.

success
boolean
Example:

true

data
object

Detalhe de inbound sem payload bruto; relatedMessage quando houver vínculo.