hookType

List outgoing hook types

Changed on

Returns the available outgoing hook types. When site_id is given, returns only the types available to that site.

get/hooks/types

Request

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

Query parameters

site_idstring

Only return the hook types available to this site.

Response

OK

namestring
eventsstring[]
fieldsobject[]

Changes