SWIRLS_
ReferenceSDKClient

Webhooks

SDK reference for webhooks — Create and manage webhook endpoints that can trigger graph executions.

Create and manage webhook endpoints that can trigger graph executions.

getWebhook

Get stable webhook identity and preferred snapshot

GET

Usage:

const result = await swirls.client.webhooks.getWebhook({
  projectId: '...',
  id: '...',
})

Input:

ParameterTypeRequiredDescription
projectIdstringYes
idstringYes

Output:

FieldTypeDescription
webhookobject
snapshotobject

listWebhooks

List stable webhooks with preferred snapshot

GET

Usage:

const result = await swirls.client.webhooks.listWebhooks({
  projectId: '...',
})

Input:

ParameterTypeRequiredDescription
projectIdstringYes
paginationobjectNo

Output:

FieldTypeDescription
paginationobject
resultsobject[]
totalCountnumber

On this page