Retrieve a webhook
GET/v1/webhooks/:id
Retrieve a webhook.
Request
Path Parameters
Responses
- 201
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
A unique identifier
The URL of the webhook endpoint.
An optional description of what the webhook is used for.
Possible values: [all
, shipment_purchased
, shipment_cancelled
, shipment_fulfilled
, shipment_out_for_delivery
, shipment_needs_attention
, shipment_delivery_failed
, tracker_created
, tracker_updated
, order_created
, order_updated
, order_fulfilled
, order_cancelled
, order_delivered
, batch_queued
, batch_failed
, batch_running
, batch_completed
]
The list of events to enable for this endpoint.
Indicates that the webhook is disabled
Default value: webhook
Specifies the object type
The datetime of the last event sent.
Header signature secret
Specified whether it was created with a carrier in test mode
{
"id": "string",
"url": "string",
"description": "string",
"enabled_events": [
"all"
],
"disabled": true,
"object_type": "webhook",
"last_event_at": "2024-07-29T15:51:28.071Z",
"secret": "string",
"test_mode": true
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}