cURL
curl --request GET \ --url https://atoms-api.smallest.ai/api/v1/agent/{agentId}/webhook-subscriptions \ --header 'Authorization: Bearer <token>'
{ "status": true, "data": [ { "_id": "<string>", "webhookId": "<string>", "agentId": "<string>", "eventType": "pre-conversation", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ] }
Retrieve webhook subscriptions for a given agent ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the agent
Successful response
The response is of type object.
object