Skip to Content
Hooks Requests

Returns a list of all hook requests belonging to a hook

GET
/hooks/{hook_type}/{hook_id}/requests

Path Parameters

hook_id*string

The ID of the hook.

hook_type*string

The type of the hook.

Value in"incoming""outgoing"

Query Parameters

page?integer

Number of the page to be retrieved

Range1 <= value
per_page?integer

Number of items returned per page

Range1 <= value <= 100

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
[index: integer]?|null
Example Request
curl -X GET 'https://api.devopness.com/hooks/incoming/2ab973e1-9528-4d67-aff0-209d74975830/requests?page=1&per_page=25' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response200
[  {    "id": "6fa16226-9dc4-4367-88aa-e689ad2bc580",    "hook_id": "f1a61a4e-4d08-11eb-9481-0242ac130004",    "action_id": 1985239,    "retry_of": "002afd04-e3af-4dad-bf46-b2b25978482a",    "ip_address": "172.17.0.4",    "created_at": "2019-09-25T15:50:48.000000Z",    "updated_at": "2019-09-25T15:50:48.000000Z"  }]