Create webhook subscriptions for an agent

View as Markdown
Create webhook subscriptions for a specific agent with selected event types

Authentication

AuthorizationBearer

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

Path parameters

agentIdstringRequired
The ID of the agent to create subscriptions for

Request

This endpoint expects an object.
eventTypeslist of enumsRequired
Array of event types to subscribe to
Allowed values:
webhookIdstringRequired
The ID of the webhook to subscribe to

Response

Subscriptions created successfully
statusboolean
datastring
Success message

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error