curl --request GET \
--url https://api.myscalev.com/v3/orders/{id}/message-history \
--header 'Authorization: Bearer <token>'{
"id": 123,
"message_history": [
{
"id": 123,
"is_from_bot": true,
"message": "<string>",
"name": "<string>",
"provider": "<string>",
"recipient_name": "<string>",
"recipient_phone": "<string>",
"sender_name": "<string>",
"sender_phone": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}Requires the order:read machine scope. Get message history for an order.
curl --request GET \
--url https://api.myscalev.com/v3/orders/{id}/message-history \
--header 'Authorization: Bearer <token>'{
"id": 123,
"message_history": [
{
"id": 123,
"is_from_bot": true,
"message": "<string>",
"name": "<string>",
"provider": "<string>",
"recipient_name": "<string>",
"recipient_phone": "<string>",
"sender_name": "<string>",
"sender_phone": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.