Skip to main content
GET
/
v3
/
orders
/
{id}
/
chats
Get order chat text
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"
}

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

Chat text retrieved

chat_message
string

Chat message associated with the order

follow_up_chat_type
string | null

Type of follow-up chat for the order

follow_up_chats
FollowUpChatDetail · object[]
id
integer

Order primary key

is_probably_spam
boolean

Is probably spam

mark_as_spam_by
string | null

Who marked as spam

order_id
string

Order ID in string format

payment_status
enum<string>

Order payment status

Available options:
unpaid,
paid,
conflict,
settled
secret_slug
string

Secret slug of the order

status
enum<string>

Order status

Available options:
draft,
pending,
confirmed,
in_process,
ready,
shipped,
completed,
canceled,
rts,
closed