Webhook GET
GET/webhooks/:webhookId
Required Permissions: Webhook Get
or Webhook Admin
Request
Path Parameters
webhookId integerrequired
The id of the Webhook that you wish to get data from.
Responses
- 200
A JSON Object containing a webhook's data.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
webhook object
id integer
name string
description string
url url
enabled boolean
ordered boolean
max_retries integer
created_at date-time
created_by_user_id integer
updated_at date-timenullable
updated_by_user_id integernullable
created_by object
archived boolean
avatar objectnullable
avatar_file_upload_url string
created_at date-time
created_by_user_id integer
Possible values: >= 1
department string
email email
events object[]
webhook_id integer
webhook_event_id integer
enabled boolean
event object
id integer
name string
description string
{
"webhook": {
"id": 0,
"name": "Slack",
"description": "Our connection between experiments and Slack",
"url": "string",
"enabled": true,
"ordered": false,
"max_retries": 10,
"created_at": "2024-10-14T16:22:32.722Z",
"created_by_user_id": 0,
"updated_at": "2024-10-14T16:22:32.722Z",
"updated_by_user_id": 0,
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-10-14T16:22:32.722Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "[email protected]"
},
"events": [
{
"webhook_id": 0,
"webhook_event_id": 0,
"enabled": true,
"event": {
"id": 0,
"name": "ExperimentCreated",
"description": "Event generated when an experiment draft is created."
}
}
]
}
}
Loading...