curl --request POST \
--url https://atoms-api.smallest.ai/api/v1/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"endpoint": "https://example.com/webhook",
"description": "Webhook for conversation events",
"events": [
{
"agentId": "60d0fe4f5311236168a109ca",
"eventType": "post-conversation"
}
]
}
'