Webhooks

Get a webhook subscription and its recent deliveries

get/v1/webhooks/{id}

Request

  • Base URL
    https://api.gojinko.com
  • URL
    https://api.gojinko.com/v1/webhooks/{id}
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

idstring required
Example:42

Response

Webhook subscription + recent deliveries

Example response

{
  "webhook": {
    "id": 42,
    "url": "https://partner.example.com/jinko/webhooks",
    "events": [
      "booking.completed",
      "booking.failed"
    ],
    "status": "active",
    "secret_prefix": "whsec_3f…",
    "created_at": "2026-06-02T08:00:00Z",
    "updated_at": "2026-06-02T08:00:00Z"
  },
  "recent_deliveries": [
    {
      "event_id": "evt_1234_booking.completed",
      "event_type": "booking.completed",
      "booking_ref": "JNK-A7B3X9",
      "status": "delivered",
      "attempt_count": 1,
      "last_http_status": 200
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.