Endpoints
Miscellaneous
Chatbot

Chatbot endpoint

Note: This endpoint requires an API key to use. If you do not have one, you can read how to generate it on the SRA Dashboard (opens in a new tab). Premium users also get increased rate limits for this endpoint.

GET /chatbot

Query Requirements:

Query ParameterRequired?
messagegreen tick
memoryKey (premium only)red cross

Example Response:

URL
https://api.some-random-api.com/chatbot?message=...&memoryKey=uniqueId
Response
{
  "response": "Hey there! *smiling* It's great to see you! How are you doing today?"
}