curl --location --request GET 'https://api.softservv.co/whatsapp-accounts//received-messages/?start&limit&order_by&order_direction' \
--header 'Authorization: Bearer <token>'{
"status": "Success",
"data": [
{
"audio": {
"id": "audio_12345"
},
"button": {
"type": "reply"
},
"context": {
"message_id": "message_12345"
},
"document": {
"id": "doc_12345",
"caption": "Caption"
},
"errors": [
{
"code": "1001",
"message": "Invalid message format"
}
],
"from": "0987654321",
"message_id": "wamid.1234567890",
"identity": {
"acknowledged": "true",
"created_timestamp": "2025-05-15T09:59:00Z",
"hash": "hash_12345"
},
"image": {
"id": "image_12345",
"caption": "Caption"
},
"interactive": {
"action": {
"button": "Click Me",
"sections": [
{
"title": "Section 1",
"rows": [
{
"id": "row_1",
"title": "Option 1",
"description": "Description 1"
}
]
}
]
},
"header": {
"type": "text",
"text": "Header Text"
},
"body": {
"text": "Body Text"
},
"footer": {
"text": "Footer Text"
},
"type": "list"
},
"order": {
"catalog_id": "catalog_12345",
"product_items": [
{
"product_retailer_id": "item_123",
"quantity": 2
}
],
"text": "Order confirmation"
},
"referral": {
"headline": "Check this out!",
"body": "Amazing product you should try.",
"source_type": "ad",
"source_id": "ad_12345",
"source_url": "https://example.com/ad/12345",
"image": {
"id": "image_12345",
"caption": "Caption"
},
"video": {
"id": "video_12345",
"caption": "Caption"
}
},
"sticker": {
"id": "sticker_12345"
},
"system": {
"body": "Text"
},
"text": {
"body": "Hello, how are you?"
},
"timestamp": "2025-05-15T09:59:00Z",
"type": "text",
"video": {
"id": "video_12345",
"caption": "Caption"
},
"status": "delivered",
"date_created": "2025-05-15T09:59:00Z"
}
]
}