GET
/
agent
/
{agentId}
/
webhook-subscriptions
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

The ID of the agent

Response

200
application/json

Successful response

The response is of type object.