curl -X GET \
'https://platform.returnqueen.dev/api/partner_webhooks' \
-H 'X-API-KEY: your-api-key'
{
"webhooks": [
{
"id": "ep_2KtRQ8fTStWPKrXP",
"url": "https://example.com/webhook",
"filterTypes": ["shipment.created"],
"active": true,
"created_at": "2024-01-15T10:00:00Z",
"description": "Production webhook endpoint"
}
],
"total": 1
}
Returns all webhook endpoints configured for the authenticated partner
curl -X GET \
'https://platform.returnqueen.dev/api/partner_webhooks' \
-H 'X-API-KEY: your-api-key'
{
"webhooks": [
{
"id": "ep_2KtRQ8fTStWPKrXP",
"url": "https://example.com/webhook",
"filterTypes": ["shipment.created"],
"active": true,
"created_at": "2024-01-15T10:00:00Z",
"description": "Production webhook endpoint"
}
],
"total": 1
}
curl -X GET \
'https://platform.returnqueen.dev/api/partner_webhooks' \
-H 'X-API-KEY: your-api-key'
{
"webhooks": [
{
"id": "ep_2KtRQ8fTStWPKrXP",
"url": "https://example.com/webhook",
"filterTypes": ["shipment.created"],
"active": true,
"created_at": "2024-01-15T10:00:00Z",
"description": "Production webhook endpoint"
}
],
"total": 1
}
Show webhook properties