Skip to main content

Tích hợp AntBuddy

1. Tổng quan

Toàn bộ API sử dụng method POST.

1.1. Thông tin chung

Base URL:

1.2. Authentication

Phía Rạng Đông sẽ cung cấp Service Account. Service Account bao gồm code và password.

TODO: cung cấp code/password

  • Dev: code / password
  • Prod: code / password

AntBuddy gọi vào API /rpc/portal/service-profile/login để lấy JWT.

{
    "code": "string",
    "password": "string"
}

Response trả về sẽ có dạng:

{
    "token": "string",
    "expiredTime": "0000-00-00T00:00:00"
}

Thời hạn của JWT là 12 tiếng (43200 giây)

2. Customer

3. Ticket

3.1. Tổng quan

 

AliceJohnHello John, how are you?John, can you hear me?Hi Alice, I can hear you!I feel great!AliceJohn

 

4. Call Log