Skip to main content
GET
/
api
/
partner_webhooks
/
{id}
curl -X GET \
  'https://platform.returnqueen.dev/api/partner_webhooks/ep_2KtRQ8fTStWPKrXP' \
  -H 'X-API-KEY: your-api-key'
{
  "id": "ep_2KtRQ8fTStWPKrXP",
  "url": "https://example.com/webhook",
  "filterTypes": ["shipment.created", "shipment.address.updated", "pickup.completed"],
  "active": true,
  "created_at": "2024-01-15T10:00:00Z",
  "description": "Production webhook endpoint",
  "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}

Request Parameters

Path Parameters

id
string
required
Webhook endpoint ID
curl -X GET \
  'https://platform.returnqueen.dev/api/partner_webhooks/ep_2KtRQ8fTStWPKrXP' \
  -H 'X-API-KEY: your-api-key'
{
  "id": "ep_2KtRQ8fTStWPKrXP",
  "url": "https://example.com/webhook",
  "filterTypes": ["shipment.created", "shipment.address.updated", "pickup.completed"],
  "active": true,
  "created_at": "2024-01-15T10:00:00Z",
  "description": "Production webhook endpoint",
  "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}

Response Fields

id
string
Unique identifier for the webhook endpoint
url
string
HTTPS URL where webhook events are sent
filterTypes
array
Event types this endpoint is subscribed to (empty array means all events)
active
boolean
Whether the endpoint is active
created_at
string
When the endpoint was created (ISO 8601 format)
description
string
Description of the webhook endpoint
secret
string
Webhook signing secret (only shown once during creation)