Skip to main content
WEBHOOK
agent.created
{
  "eventId": "evt_01234567890abcdef",
  "eventType": "agent.created",
  "payload": {
    "id": "agent_1234567890abcdef",
    "name": "Customer Support Agent",
    "workspaceId": "ws_1234567890abcdef",
    "userId": "user_1234567890abcdef",
    "systemPrompt": "You are a helpful customer support assistant. Always be polite and professional when helping customers with their inquiries.",
    "initiationMessage": "Hello! Welcome to our customer support. How can I assist you today?",
    "initiationType": "AI Speaks First - Dynamic",
    "endCallEnabled": true,
    "endCallDescription": "Thank you for contacting us. Have a great day!",
    "createdAt": "2023-01-01T12:00:00.000Z",
    "updatedAt": "2023-01-01T12:00:00.000Z",
    "isArchived": false
  }
}

Body

application/json
eventId
string<uuid>
required
eventType
string
required
Allowed value: "agent.created"
payload
object
required

Response

200

Webhook received successfully