A

Agora Conversational AI REST API

REST discovered

Details
URL
https://api.agora.io/api/conversational-ai-agent/v2/projects/<appid>
Docs
https://docs.agora.io/en/api-reference/api-ref/conversational-ai
Authentication
Agora app token generated from App ID and App Certificate bearer discovered Get token ↗
Authorization: agora token= <credential>

In Agora Console, open your project and obtain its App ID and App Certificate. Generate the token on your own server using Agora's token libraries, such as the Conversational AI SDK token utility or the AgoraDynamicKey libraries. For Conversational AI and Flexible Classroom, send it in Authorization as agora token=<your_token>. Keep the App Certificate server-side only.

Agora REST API customer ID and customer secret basic discovered Get credentials ↗
Authorization: Basic <credential>

In Agora Console, go to Developer ToolkitRESTful API, click Add a secret, then Download the generated key_and_secret.txt. Use the downloaded Customer ID and Customer Secret to form HTTP Basic auth as Authorization: Basic <base64(customer_id:customer_secret)>. The secret can only be downloaded once, so store it securely.