API Reference
General
Authentication
Every API request sent to FPT.AI must have an Authorization
HTTP header with the token of bot.
Authorization: Bearer your_application_token
Example request
curl -X GET \
https://v3-api.fpt.ai/api/v3/intent \
-H 'Authorization: Bearer your_application_token'
You application token is retrieved from your bot:
Error Code
FPT.AI response has list of error codes below:
Example response
{
"code": "error_code",
"message": "Not found"
}