Messaging API
Use these endpoints to send individual messages and fetch recent messages.Send an Individual Message
Replace placeholders like<YOUR_API_KEY>
, <AGENT_ID>
, and <CHAT_ID>
with your values.
Get Messages (via Agent Webhook Runner)
Notes
X-API-Key
should be an API key with permissions to send/read messages for the target agent.chatId
identifies the conversation thread.metadata.source
is optional and can be used for analytics/debugging.