Langsung ke konten utama
GET
/
v3
/
orders
/
{id}
/
chats
Get order chat text
curl --request GET \
  --url https://api.scalev.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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "is_probably_spam": true,
  "mark_as_spam_by": "<string>",
  "order_id": "<string>",
  "public_order_url": "<string>",
  "payment_url": "<string>",
  "secret_slug": "<string>"
}

Otorisasi

Authorization
string
header
wajib

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

Parameter Path

id
string
wajib

Canonical UUIDv7 order primary key. For migrated orders, legacy numeric core_order.id values remain accepted for compatibility.

Respons

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
string<uuid>

Canonical UUIDv7 order primary key returned by the partitioned orders table.

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

public_order_url
string<uri> | null

Public order URL built from metadata.custom_domain_full_url and secret_slug.

payment_url
string<uri> | null

Payment URL built from public_order_url with /success appended.

payment_status
enum<string>

Order payment status

Opsi yang tersedia:
unpaid,
paid,
conflict,
settled
secret_slug
string

Secret slug of the order

status
enum<string>

Order status

Opsi yang tersedia:
draft,
pending,
confirmed,
in_process,
ready,
shipped,
completed,
canceled,
rts,
closed