Skip to main content
GET
/
v3
/
orders
/
{id}
/
message-history
Get order message history
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Message history retrieved

id
integer

Order primary key

message_history
MessageHistoryItem · object[]

Message history associated with the order