Webhooks

Get webhook subscription delivery

Changed on

Retrieve a single webhook delivery attempt for a subscription, including its event ID, attempt number, and attempt details.

get/v2/data/webhooks/subscriptions/{subscriptionId}/deliveries/{deliveryId}

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

subscriptionId, string uuid required

Unique identifier for the webhook subscription.

deliveryId, string required

Unique identifier for the webhook delivery attempt.

Response

Webhook delivery retrieved successfully.

WebhookDeliveryResponse required

Details of a single webhook delivery attempt for an event and subscription.

deliveryId, string required

Unique identifier for this delivery attempt.

matchId, string uuid required

Unique identifier for the webhook match.

eventId, string uuid required

Unique identifier for the matched webhook event.

subscriptionId, string uuid required

Unique identifier for the webhook subscription.

attempt, WebhookDeliveryAttempt required

Outcome and timing of a single webhook delivery attempt.

Example response

{
  "deliveryId": "507f1f77bcf86cd799439011",
  "eventId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "matchId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "subscriptionId": "123e4567-e89b-12d3-a456-426614174000",
  "attempt": {
    "result": "success",
    "attemptedAt": "2025-01-15T10:30:00Z",
    "statusCode": 200,
    "attemptNumber": 1,
    "requestHeaders": [
      {
        "name": "Content-Type",
        "value": "application/json"
      },
      {
        "name": "X-Webhook-Auth",
        "value": "********"
      }
    ],
    "targetUrl": "https://example.com/webhook"
  }
}

Changes