The My AskAI API gives you programmatic access to your AI support agent, letting you embed it inside your own apps, workflows, and integrations. Three distinct APIs cover every use case: the Query API for one-shot questions, the Chat API for multi-turn conversations, and the User Data API for passing per-user context back to My AskAI so your agent can give personalised answers. All three share the same authentication mechanism and base URL described on this page.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/arainey2022/myaskai-docs/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Every request is made to the following base URL:Authentication
All API requests must include your API key as a Bearer token in theAuthorization header. Retrieve your key from the My AskAI dashboard under Settings → API.
Keep your API key secret. Do not expose it in client-side code or public repositories. If a key is compromised, regenerate it immediately from Settings → API in your dashboard.
Getting Your API Key
Open your My AskAI dashboard
Log in at myaskai.com and navigate to your agent’s dashboard.
Rate Limits
My AskAI enforces rate limits to ensure reliable service for all customers. Default limits are:| Limit type | Default |
|---|---|
| Requests per minute | 60 |
| Requests per day | 10,000 |
| Max query length | 750 characters |
Request Requirements
- All requests must use
POST(exceptGET /v1/chat/sessions/{session_id}/messages). - Set the
Content-Type: application/jsonheader on every request. - Request and response bodies are always JSON.
Error Responses
The API uses standard HTTP status codes. Every error response includes a JSON body with a human-readableerror field.
| Status code | Meaning |
|---|---|
400 Bad Request | Missing or invalid request parameters |
401 Unauthorized | Missing, invalid, or expired API key |
404 Not Found | The requested resource (e.g. session) does not exist |
429 Too Many Requests | Rate limit exceeded |
500 Internal Server Error | Unexpected server-side error — retry with back-off |
API Reference Pages
Query API
Ask a one-shot question against your agent’s knowledge base and receive an instant answer with source attribution.
Chat API
Hold multi-turn conversations with your AI agent using persistent sessions.
User Data API
Supply per-user context so your agent delivers personalised support answers.
Channels & Integrations
Prefer a no-code route? Connect Slack, Microsoft Teams, or Zapier without writing any API calls.