Skip to main content
GET
/
v1
/
whatsapp
/
messages
/
inbound
Listar mensagens recebidas (inbound)
curl --request GET \
  --url https://api.notifique.dev/v1/whatsapp/messages/inbound \
  --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>"
      }
    }
  ],
  "pagination": {
    "total": 123,
    "page": 123,
    "limit": 123,
    "totalPages": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
string
limit
string
q
string

Busca no corpo ou no remetente (8+ dígitos).

instanceId
string

Filtrar por instância (deve estar acessível pela chave).

dateFrom
string<date-time>
dateTo
string<date-time>

Response

Lista e paginação.

success
boolean
Example:

true

data
object[]
pagination
object