Chat Assistant API
POST
https://api.figolabs.ai/api/v1/chat/assistant/{assistantid}
Apis
Maintainer:Figo AI Labs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.figolabs.ai/api/v1/chat/assistant/' \
--header 'Authorization: Bearer {Your-API-Key}' \
--header 'Content-Type: application/json' \
--data-raw '{
"question": "What services do you offer?",
"threadId" : "thread-e659fc93-133896479445365230-rw7JI9RTek"
}'
Response Response Example
200 - Success
{
"responseCode": "00",
"responseMessage": "Successful",
"responseData": "<span>\n<b>Services Offered by BillsClan</b>\n\n<p>BillsClan provides a range of services to help manage your payments and online business needs:</p>\n\n<ul>\n<li>Creating payment links for easy transactions.</li>\n<li>Sending and tracking invoices in real-time.</li>\n<li>Creating online stores to sell products and services.</li>\n<li>Paying utility bills, including airtime, data, electricity, TV, and insurance bills.</li>\n</ul>\n</span>"
}
Request
Path Params
assistantid
string
required
Header Params
Content-Type
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {Your-API-Key}
Body Params application/json
Responses
Modified at 2025-04-22 18:44:42