Messenger API
Everything the panel can do with a connected Telegram, WhatsApp or Instagram account, over REST — one key, one response shape, chapter by chapter.
AI
Chat completions and media analysis with your own provider key.
AI requests use the provider key you connected (OpenAI, Anthropic, Gemini, …); they are not part of the plan.
Base URL: https://chatvendor.net/api/v1 · every response is {"success": true, "data": …}
POST
/channels/{id}/ai/analyze
AI analysis of a message photo/file
ai:use
Scope: ai:use
Parameters
idpath · integerrequiredChannel id (from GET /channels)
Body (application/json)
peerstringrequiredmessage_idintegerrequiredpromptstringprovider_idintegerjson_schemaobjectResponse 200 · Analysis
id integertext stringjson object|nullurl string
curl -X POST https://chatvendor.net/api/v1/channels/1/ai/analyze \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-H "Content-Type: application/json" \
-d '{"peer":"…","message_id":1}'
POST
/ai/chat
Chat completion with your own provider key
ai:use
Scope: ai:use
Body (application/json)
messagesobject[]requiredmessages[].rolestringmessages[].contentstringsystemstringprovider_idintegermax_tokensintegerResponse 200 · AiReply
text stringmodel stringusage object
curl -X POST https://chatvendor.net/api/v1/ai/chat \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"
-H "Content-Type: application/json" \
-d '{"messages":[]}'
GET
/ai/providers
Your AI providers
ai:use
Scope: ai:use
Response 200 · AiProvider[]
id integername stringtype stringmodel stringis_default boolean
curl https://chatvendor.net/api/v1/ai/providers \
-H "Authorization: Bearer cv_live_xxxxxxxxxxxx"