curl --request GET \
--url https://api.myscalev.com/v3/orders/{id}/chats \
--header 'Authorization: Bearer <token>'{
"chat_message": "<string>",
"follow_up_chat_type": "<string>",
"follow_up_chats": [
{
"change_status": true,
"hours_after": 123,
"id": 123,
"image": "<string>",
"is_default": true,
"name": "<string>",
"provider": "<string>",
"text": "<string>",
"text_url": "<string>",
"trigger": "<string>",
"wa_integration_id": 123
}
],
"id": 123,
"is_probably_spam": true,
"mark_as_spam_by": "<string>",
"order_id": "<string>",
"payment_status": "unpaid",
"secret_slug": "<string>",
"status": "draft"
}Requires the order:read machine scope. Retrieve chat text messages associated with an order.
curl --request GET \
--url https://api.myscalev.com/v3/orders/{id}/chats \
--header 'Authorization: Bearer <token>'{
"chat_message": "<string>",
"follow_up_chat_type": "<string>",
"follow_up_chats": [
{
"change_status": true,
"hours_after": 123,
"id": 123,
"image": "<string>",
"is_default": true,
"name": "<string>",
"provider": "<string>",
"text": "<string>",
"text_url": "<string>",
"trigger": "<string>",
"wa_integration_id": 123
}
],
"id": 123,
"is_probably_spam": true,
"mark_as_spam_by": "<string>",
"order_id": "<string>",
"payment_status": "unpaid",
"secret_slug": "<string>",
"status": "draft"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Chat text retrieved
Chat message associated with the order
Type of follow-up chat for the order
Show child attributes
Order primary key
Is probably spam
Who marked as spam
Order ID in string format
Order payment status
unpaid, paid, conflict, settled Secret slug of the order
Order status
draft, pending, confirmed, in_process, ready, shipped, completed, canceled, rts, closed