API & Webhooks
Aimdoc API & Webhooks are available on the Convert plan only.
Aimdoc's External API gives you programmatic access to conversation, message, contact, and visitor profile data, and webhooks let you receive real-time updates when events happen.
Authentication
Base URL:
https://api.aimdoc.ai/api/v1
Send your API key as a Bearer token:
Authorization: Bearer ak_your_api_key_here
Create an API key in the dashboard:
- Go to Integrations
- Open API Keys
- Click Create new key
- Copy and store the key securely
You can only view your API key at the time of creation. Make sure to save it securely — you won't be able to view it again.
Common endpoints
GET /conversations— list conversationsGET /messages— list message recordsGET /contacts— list contact recordsGET /visitor-profiles— list visitor profilesGET /visitor-profiles/{visitor_id}— fetch one visitor profileGET /leads— deprecated alias maintained for backward compatibility
Pagination and filters
List endpoints support:
pageandper_pagefor paginationstart_dateandend_date(YYYY-MM-DD) for date rangessearch,lead_id, andlast_seen_afteron visitor profile exports
Example request:
curl "https://api.aimdoc.ai/api/v1/conversations?start_date=2026-02-01&end_date=2026-02-29&page=1&per_page=50" \
-H "Authorization: Bearer ak_your_api_key_here"
References
- API Reference (Redoc) for full endpoint details, schemas, and examples
- Webhooks Guide for setup and delivery best practices
- Webhooks Reference (Redoc) for canonical event payload schemas