Skip to main content
GET
/
v1
/
webhooks
List webhooks
curl --request GET \
  --url https://api.quentli.com/v1/webhooks \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "w_1234567890abcdefghij",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "url": "<string>",
    "status": "ENABLED",
    "organizationId": "org_1234567890abcdefghij",
    "description": null,
    "enabledEvents": [
      {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "webhookId": "w_1234567890abcdefghij"
      }
    ],
    "deletedAt": null,
    "deletedById": null
  }
]

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Query Parameters

filter
string

A qs-encoded webhookFilter object.

Example:

"status=ENABLED"

skip
number
default:0

Pagination offset.

Required range: x >= 0
Example:

0

take
number
default:20

Pagination limit.

Required range: 1 <= x <= 100
Example:

20

orderBy
string

A qs-encoded webhookOrderBy object.

Example:

"createdAt=desc"

Response

Webhooks list

id
string
required

Unique identifier of the webhook.

Example:

"w_1234567890abcdefghij"

createdAt
required

When the webhook was created.

updatedAt
required

When the webhook was last updated.

url
string
required

Destination URL.

status
enum<string>
required

Current webhook status.

Available options:
ENABLED,
DISABLED,
BROKEN,
DELETED
Example:

"ENABLED"

organizationId
string
required

Owning organization identifier.

Example:

"org_1234567890abcdefghij"

description
string | null

Optional user-defined description.

Example:

null

enabledEvents
object[]

Event types currently enabled for this webhook.

deletedAt

When this webhook was deleted, if any.

Example:

null

deletedById
string | null

User who deleted this webhook.

Example:

null