The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.
Get webhook by id
GET
https://api.pack.cloud/v1/organizations/{organizationId}/webhooks/{webhookId}
Request
Path parameters
organizationIdstring
webhookIdstring
Response
OK
Body
idstringrequired
ID of the webhook subscription
event_codestring
The subscribed event
Example:orders.created
endpointstringrequired
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstringrequired
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledbooleanrequired
created_atstringrequired
Creation time of resource
updated_atstringrequired
Latest update time of resource
OK
Body
idstringrequired
ID of the webhook subscription
event_codestring
The subscribed event
Example:orders.created
endpointstringrequired
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstringrequired
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledbooleanrequired
created_atstringrequired
Creation time of resource
updated_atstringrequired
Latest update time of resource
OK
Body
idstringrequired
ID of the webhook subscription
event_codestring
The subscribed event
Example:orders.created
endpointstringrequired
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstringrequired
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledbooleanrequired
created_atstringrequired
Creation time of resource
updated_atstringrequired
Latest update time of resource
OK
Body
idstringrequired
ID of the webhook subscription
event_codestring
The subscribed event
Example:orders.created
endpointstringrequired
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstringrequired
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledbooleanrequired
created_atstringrequired
Creation time of resource
updated_atstringrequired
Latest update time of resource
OK
Body
idstringrequired
ID of the webhook subscription
event_codestring
The subscribed event
Example:orders.created
endpointstringrequired
The endpoint to sent the event data to
Example:https://myapp.packcloud.local/order-created
secretstringrequired
The secret used for signing the webhook request
Example:q9NhjkjV9o
enabledbooleanrequired
created_atstringrequired
Creation time of resource
updated_atstringrequired
Latest update time of resource