Logo PopinaPopina API

Get webhook by Id.

Get a webhook by it's id. A webhook is linked to a specific location and recipient, registering an endpoint URL for an event (e.g., order.paid).

GET/v1/webhooks/{id}
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Path Parameters

idstring

Webhook id path parameter

Formatuuid

Response Body

application/json

curl -X GET "http://localhost:4007/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "5f99d799-73d4-43e0-b247-65918dcdb85f",
  "createdAt": "2021-08-02T16:52:15.000Z",
  "updatedAt": "2021-08-02T16:52:15.000Z",
  "events": [
    "order.paid"
  ],
  "endpointUrl": "https://example.com",
  "locationId": "5f99d799-73d4-43e0-b247-65918dcdb85f",
  "recipientId": "5f99d799-73d4-43e0-b247-65918dcdb85f"
}