cURL
curl --request GET \ --url https://api.loopreturns.com/api/v1/webhooks \ --header 'Authorization: Bearer <token>'
{ "webhooks": [ { "id": 123, "shop_id": 123, "topic": "return", "trigger": "return.created", "url": "<string>", "status": "active" } ] }
Get all webhook subscriptions. This includes webhooks created programmatically and webhooks created in the Loop Admin.
OAuth 2.0 authorization
Success
An array of webhook subscriptions.
Show child attributes
The webhook's unique identifier.
The unique identifier of the shop that created the webhook.
The webhook's topic.
return
label
restock
label.request
giftcard
happy.returns.shipment
The condition which triggers the webhook.
return.created
return.updated
return.closed
label.created
label.updated
restock.requested
label.request.issued
label.request.cancelled
giftcard.requested
shipment.processed
The webhook's URL.
The webhook's status.
active
inactive