hooks

Get Hook

Retrieves the details of a specific webhook using its ID.

get/hooks/{hookId}

Path parameters

hookIdstring required

The unique identifier of the hook to retrieve.

Response

Success

idstring required

A unique identifier for the webhook.

object'hook' required

Fixed value identifying this object as a webhook.

namestring required

A user-defined name to label the webhook.

eventsstring[] required

List of event types this webhook is subscribed to.

chatIdstring

Optional ID of the chat that this webhook is scoped to.

urlstring required

Target URL that receives event payloads for this webhook.

Changes