FigoAILabs API Documentation
  1. APIs
FigoAILabs API Documentation
  • Quickstart
  • Website Javascript Plugin
  • Rate Limits & Pricing
  • APIs
    • Chat Assistant API
      POST
    • Image Assistant API
      POST
    • Text To Speech API
      POST
    • Speech To Text API
      POST
    • Guardrails API
      POST
    • CV Scoring API
      POST
    • Web Search API
      POST
    • Sentiment Analysis API
      POST
    • Message Context API
      POST
    • Image Analyzer API
      POST
  1. APIs

Chat Assistant API

POST
https://api.figolabs.ai/api/v1/chat/assistant/{assistantid}
Apis
Maintainer:Figo AI Labs
Chat Assistant API provides a REST API interface to allow you interact with your AI Assistants or Chatbots created on FigoAILabs console.
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
question
string 
required
threadId
string 
optional
Optionla field. You can use a value to maintain context with the AI model. If you do not specify one, the first response will return one for you to use in subsequent calls.
Examples

Responses

🟢200OK
application/json
Success
Body
responseCode
string 
required
00 - success response, 99 - failure response
responseMessage
string 
required
message
responseData
string 
required
🟠401Unauthorized
Modified at 2025-04-22 18:44:42
Previous
Rate Limits & Pricing
Next
Image Assistant API
Built with