Version: 202201
Webhook Details
GET/openapi/2022-01/webhooks/:id
Get a webhook with a unique identifier.
Request
Path Parameters
id stringrequired
Webhook record ID
Responses
- 200
- 404
200
- application/json
- Schema
- Example
- Result
Schema
webhook object
idstring
Example:
37593634-c272-4ed5-9096-1a4f1212125eaddressstring
Example:
https://abc.comtopicstring
Example:
order/createcreated_atstring
Example:
2018-08-26T06:50:00Zupdated_atstring
Example:
2018-08-26T06:50:00Zformatstring
Example:
json{
"webhook": {
"id": "37593634-c272-4ed5-9096-1a4f1212125e",
"address": "https://abc.com",
"topic": "order/create",
"created_at": "2018-08-26T06:50:00Z",
"updated_at": "2018-08-26T06:50:00Z",
"format": "json"
}
}
{
"webhook": {
"id": "37593634-c272-4ed5-9096-1a4f1212125e",
"address": "https://abc.com",
"topic": "order/create",
"created_at": "2018-08-26T06:50:00Z",
"updated_at": "2018-08-26T06:50:00Z",
"format": "json"
}
}
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"record not found!"
]
}
{
"errors": [
"record not found!"
]
}