List subscribable webhook types
Returns a paginated list of all valid webhook events for the specified entity. The team and user webhooks are deprecated, and you should use workspace instead. For more information, see the announcement.
This is public data that does not require any scopes or authentication.
NOTE: The example response is a truncated response object for the workspace subject_type.
We return the same structure for the other subject_type objects.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”A resource or subject type.
Responses
Section titled “ Responses ”A paginated list of webhook types available to subscribe on.
A paginated list of webhook types available to subscribe on.
object
Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
Page number of the current results. This is an optional element that is not provided in all responses.
Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
An event, associated with a resource or subject type.
object
The event identifier.
The category this event belongs to.
Summary of the webhook event type.
More detailed description of the webhook event type.
Examples
{ "page": 1, "pagelen": 30, "size": 4, "values": [ { "category": "Repository", "description": "Whenever a repository push occurs", "event": "repo:push", "label": "Push" }, { "category": "Repository", "description": "Whenever a repository fork occurs", "event": "repo:fork", "label": "Fork" }, { "category": "Repository", "description": "Whenever a repository import occurs", "event": "repo:imported", "label": "Import" }, { "category": "Pull Request", "label": "Approved", "description": "When someone has approved a pull request", "event": "pullrequest:approved" } ]}If an invalid {subject_type} value was specified.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}