API reference · AI agents
Create an agent
Create an AI agent on a linked WhatsApp number, then activate it with POST /v1/whatsapp/agents/{agent_id}/activate.
POST/v1/whatsapp/agents
- Rate limit 120 / min
- Returns 201 Created
- Needs the WhatsApp permission · 1 credit per agent reply
Body parameters
subscription_idstringoptionalThe WhatsApp number it answers on.
namestringoptionalAgent name.
system_promptstringoptionalHow it behaves and talks.
system_contextstringoptionalFacts about your business.
greeting_messagestringoptionalFirst message to new customers.
modelstringoptionalFrom GET /v1/whatsapp/agents/models.
temperaturenumberoptionalLower is more predictable.
auto_respondbooleanoptionalReply automatically.
Response fieldsResponse
idAgent ID
statusactive or inactive
conversation_count · message_countUsage
Errors
Tap one to see its response above.
Was this page helpful?
Powered by StdioX Labs