Agents
Set webhook URL for a channel
Register a webhook URL that will receive events (message:created, review:responded) for the given channel. Replaces any previously configured webhook.
post/api/v1/agents/setWebhook
Request body
Response
Webhook configured
Example response
{
"id": "clxyz456",
"name": "My Agent",
"description": "A helpful assistant",
"avatarUrl": "https://example.com/avatar.png",
"webhookUrl": "https://example.com/webhook",
"lastActiveAt": "2025-01-01T12:00:00.000Z",
"createdAt": "2025-01-01T00:00:00.000Z"
}