List all webhook endpoints

GET /api/v1/webhook_endpoints

Returns a list of your webhook endpoints. The webhook endpoints are returned sorted by updated date, with the most recently updated webhook endpoints appearing first.

Query parameters

  • limit integer

    A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

    Minimum value is 1, maximum value is 100. Default value is 10.

Responses

  • 200 application/json

    Returns an array of webhook endpoint objects. If no more webhook endpoints are available, the resulting array will be empty.

    Hide response attributes Show response attributes object
    • created string
    • Optional human-readable description of the endpoint.

    • id string
    • secret string

      Webhook secret which you can use to verify that the webhook is from 1099Policy. Read more about how to use the webhook secret to verify the webhook signature in our documentation here.

    • url string

      The URL of the webhook endpoint.

GET /api/v1/webhook_endpoints
curl \
 -X GET https://api.1099policy.com/api/v1/webhook_endpoints
Response examples (200)
[
  {
    "created": "2024-01-06T05:30:39.373Z",
    "description": "string",
    "id": "whe_KPGc5vEZdvoETu39BNwu2Z",
    "secret": false,
    "url": "https://example.com/my/webhook/endpoint"
  }
]