Get Hook
Retrieves the details of a specific webhook using its ID.
Parameters
Path Parameters
hookId string Required
The unique identifier of the hook to retrieve.
Response
Response Body
id string Required
A unique identifier for the webhook.
object string Required
Fixed value identifying this object as a webhook.
name string Required
A user-defined name to label the webhook.
events string[] Required
List of event types this webhook is subscribed to.
Array items: enum
chatId string
Optional ID of the chat that this webhook is scoped to.
projectId string
Optional ID of the project that this webhook is scoped to.
url string Required
Target URL that receives event payloads for this webhook.