Webhook Endpoints
Create
client.projects.webhookEndpoints.create(stringprojectID, WebhookEndpointCreateParams { enabledEvents, url, description } body, RequestOptionsoptions?): WebhookEndpointCreateResponse { webhookEndpoint }
POST/projects/{projectId}/webhook-endpoints
Delete
client.projects.webhookEndpoints.delete(stringwebhookEndpointID, WebhookEndpointDeleteParams { projectId } params, RequestOptionsoptions?): WebhookEndpointDeleteResponse
DELETE/projects/{projectId}/webhook-endpoints/{webhookEndpointId}
List
client.projects.webhookEndpoints.list(stringprojectID, RequestOptionsoptions?): WebhookEndpointListResponse { webhookEndpoints }
GET/projects/{projectId}/webhook-endpoints
Update
client.projects.webhookEndpoints.update(stringwebhookEndpointID, WebhookEndpointUpdateParams { projectId, description, enabled, 2 more } params, RequestOptionsoptions?): WebhookEndpointUpdateResponse { webhookEndpoint }
PUT/projects/{projectId}/webhook-endpoints/{webhookEndpointId}
Webhook EndpointsEvents
List
client.projects.webhookEndpoints.events.list(stringwebhookEndpointID, EventListParams { projectId, paginationToken } params, RequestOptionsoptions?): EventListResponse { items, nextPaginationToken }
GET/projects/{projectId}/webhook-endpoints/{webhookEndpointId}/events
Retrieve
client.projects.webhookEndpoints.events.retrieve(stringeventID, EventRetrieveParams { projectId, webhookEndpointId } params, RequestOptionsoptions?): EventRetrieveResponse { webhookEvent }
GET/projects/{projectId}/webhook-endpoints/{webhookEndpointId}/events/{eventId}