API

Mendapatkan chat dengan pembuat tiket

POST/api/crm/v2/tickets.get_chat_customerv2
operationId: tickets.getChatCustomer

Mengembalikan pesan dari obrolan terbuka dengan penulis tiket (hidden=false): penulis, teks, tautan ke lampiran, dan reply_id — ID pesan yang dibalas.

Otorisasi

api-token + language + role

Isi permintaan application/json

object
idintegerwajib

Contoh: 394

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject
messagesarray of object
idintegerwajib

Contoh: 880

datestring (DataTimeFormatSQL) wajib

Contoh: 2024-05-02 08:31:16

user_idinteger

Contoh: 632

messagestring

Contoh: Hello World

reply_idinteger

Contoh: 879

hiddenbooleanwajib

Contoh: false

user_namestring

Contoh: User Name

affiliate_namestring

Contoh: user name

filesarray of object
file_idstringwajib

Contoh: df9a0531a9da6cf027e5143f38486dba

linkstringwajib

Contoh: https://cdn.foodsoul.pro/support/407/images/df9a0531a9da6cf027e5143f38486dba.jpg?v1733409704