Skip to main content
GET
Чат дэлгэрэнгүй

Authorizations

Authorization
string
header
required

rpt_live_ эсвэл rpt_test_-ээр эхэлсэн нууц API key.

Headers

Raptora-Project
string<uuid>

Байгууллагын API key аль төсөл дээр ажиллахыг заана. Өгөхгүй бол үндсэн төсөл. Төслийн API key зөвхөн өөрийн төслийг заана.

Path Parameters

id
string<uuid>
required

Нөөцийн id.

Response

OK

object
string
required
Allowed value: "chat"
id
string<uuid>
required
agentId
string<uuid> | null
required
channel
enum<string>
required
Available options:
WEB,
MESSENGER,
INSTAGRAM,
SMS
status
enum<string>
required
Available options:
ONGOING,
ENDED,
TRANSFERRED,
ABANDONED,
FAILED
sentiment
enum<string> | null
required
Available options:
VERY_POSITIVE,
POSITIVE,
NEUTRAL,
NEGATIVE,
VERY_NEGATIVE
outcome
enum<string> | null
required
Available options:
RESOLVED,
ESCALATED,
FAILED,
ABANDONED,
UNKNOWN
endedReason
enum<string> | null
required
Available options:
AGENT_ENDED,
CALLER_ENDED,
TRANSFERRED,
FAILED
startedAt
string<date-time>
required
endedAt
string<date-time> | null
required
durationMs
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
summary
string | null
required
messages
object[]
required