Triggered when a new AI agent is created in the workspace
WEBHOOK
agent.created
Copy
{ "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 }}
{ "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 }}