Skip to content

Get a webhook resource

GET
/hook_events

Returns the webhook resource or subject types on which webhooks can be registered.

Each resource/subject type contains an events link that returns the paginated list of specific events each individual subject type can emit.

This endpoint is publicly accessible and does not require authentication or scopes.

A mapping of resource/subject types pointing to their individual event types.

Media type application/json
Subject Types

The mapping of resource/subject types pointing to their individual event types.

object
repository
object
events
Link

A link to a resource related to this object.

object
href
string format: uri
name
string
workspace
object
events
Link

A link to a resource related to this object.

object
href
string format: uri
name
string
Examples
Example response
{
"repository": {
"links": {
"events": {
"href": "https://api.bitbucket.org/2.0/hook_events/repository"
}
}
},
"workspace": {
"links": {
"events": {
"href": "https://api.bitbucket.org/2.0/hook_events/workspace"
}
}
}
}