Documentation
HTTP API Documentation
https://api.waapi.me
Get message
This request retrieves a specific message from a WaAPI using its unique message ID. Use this method to fetch detailed information about a particular message that was sent or received by the bot.
Request
This section provides an example HTTP request for retrieving a message by its ID. Ensure that the correct message ID are specified in the request to fetch the desired message.
GEThttps://api.waapi.me/message/:id
Headers
When making this request, it`s important to include Authorization HTTP header
Authorization: <YOUR_API_KEY>
Response
The response contains the details of the message identified by the provided message ID. The data returned in JSON format, including fields like the sender, body, and status. Refer to the table for a detailed description of each field returned in the response.
Field | Type | Description |
---|---|---|
id | string | Message id |
instanceId | string|uuid | Instance(bot) id |
from | string | From phone number |
to | string | To phone number |
body | string | Message body |
status | string|enum | Message status |
type | string|enum | Message direction type, from instance or to instance |
error | string|null | Error message |
read | boolean | If true message was read by recipient |