Get a list of specific webhooks using domain filter
Last updated
Last updated
Give a filter and optionally a list of fields to fetch. By default, it will fetch all the webhooks and relavent fields the current user can read.
GET /restapi/1.0/webhooks/?domain={comma_separated_list_of_args}
Request:
Response:
Query Parameters:
fields – OPTIONAL. list of field names to return (default is all fields).
offset – OPTIONAL. Number of results to ignore (default: none)
limit – OPTIONAL. Maximum number of webhooks to return (default: all)
order – OPTIONAL. Sort string
count – OPTIONAL. if True, only counts and returns the number of matching webhooks (default: False)
Request Headers
Response Headers
Status Codes
Conversely, picking only six fields deemed interesting.
Request:
Response:
Note
even if the id
field is not requested, it is always returned
domain – OPTIONAL. A . Use an empty list to match all webhooks.
– the response content type depends on Accept header
– The OAuth protocol parameters to authenticate.
– this depends on Accept header of request
– no error
– there’s no resource
– authentication failed
– if any error raise