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: "call"
id
string<uuid>
required
agentId
string<uuid> | null
required
externalId
string | null
required

Дуудлагыг эхлүүлэхдээ өгсөн таны id.

direction
enum<string>
required
Available options:
INBOUND,
OUTBOUND
channel
enum<string>
required
Available options:
PHONE,
MESSENGER
status
enum<string>
required
Available options:
RINGING,
IN_PROGRESS,
COMPLETED,
TRANSFERRED,
MISSED,
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
score
number | null
required

Үнэлгээний оноо, 0-100. Үнэлээгүй бол null.

Required range: 0 <= x <= 100
startedAt
string<date-time>
required
endedAt
string<date-time> | null
required
durationMs
integer | null
required
Required range: -9007199254740991 <= x <= 9007199254740991
summary
string | null
required
transcript
object[]
required