hook

List a site's outgoing hooks

Changed on

Returns the outgoing hooks for a site. Pass form_id or event to filter the results.

get/hooks

Request

  • Base URL
    https://api.netlify.com/api/v1
  • URL
    https://api.netlify.com/api/v1/hooks
  • Auth
    OAuth 2
    Implicit: https://app.netlify.com/authorize

Query parameters

site_idstring required
form_idstring

Only return hooks attached to this form.

eventstring

Only return hooks for this event name.

Response

OK

idstring
site_idstring
typestring
eventstring
dataobject
created_atstring dateTime
updated_atstring dateTime
disabledboolean

Changes

    • info

      added the new optional query request parameter event

    • info

      added the new optional query request parameter form_id