Skip to main content
GET
/
webhookendpoints
curl --request GET \
     --url https://api.tryaqueduct.com/v1/webhookendpoints \
     --header 'Accept: application/json'
[
  {
    "id": "web_01FSSVRVGQ7GGB13815DE3F518",
    "url": "https://foo.com/example/endpoint",
    "enabledEvents": [
      [
        "provisioning_start",
        "provisioning_update"
      ]
    ],
    "createdAt": "2022-01-15T15:53:00.000Z",
    "description": "This webhook listens to events from Aqueduct",
    "secret": "This is only included at webhook endpoint creation"
  }
]
curl --request GET \
     --url https://api.tryaqueduct.com/v1/webhookendpoints \
     --header 'Accept: application/json'

Response

Returns an array of your webhook endpoints. Aqueduct current supports a maximum of 100 unique endpoints.

id
string
required
Example:

"web_01FSSVRVGQ7GGB13815DE3F518"

url
string
required

The url of the webhook endpoint.

Example:

"https://foo.com/example/endpoint"

enabledEvents
string[]
required

The list of events to enable for this endpoint

createdAt
string<date>
required

Time at which the object was created.

Example:

"2022-01-15T15:53:00.000Z"

description
string

An optional description of what the webhook is used for.

Example:

"This webhook listens to events from Aqueduct"

secret
string

A string that is used to verify the webhook. Only returned at creation

Example:

"This is only included at webhook endpoint creation"