Get Subscription
GET
https://api.cargopanel.co/webhooks/subscriptions/{subscriptionId}Retrieve details of a specific webhook subscription.
Request Fields
subscriptionIdstringrequiredThe ID of the webhook subscription (path parameter).
Example Response
200
{
"success": true,
"data": {
"id": "sub_abc123",
"url": "https://example.com/webhooks",
"events": ["shipment.status.updated", "shipment.milestone.updated"],
"headers": {
"X-Custom-Header": "my-value"
},
"retryPolicy": {
"maxRetries": 5,
"initialDelayMs": 10000,
"backoffMultiplier": 2,
"maxDelayMs": 3600000
},
"isActive": true,
"createdAt": "2026-06-20T14:30:00.000Z",
"updatedAt": "2026-06-21T10:00:00.000Z"
}
}Responses
200Subscription retrieved successfully
401Unauthorized (invalid or missing API key)
404Subscription not found