Options
All
  • Public
  • Public/Protected
  • All
Menu

WebhooksApi - object-oriented interface

Hierarchy

Index

Constructors

constructor

Properties

basePath

basePath: string

fetch

fetch: FetchAPI

Methods

deleteWebhook

  • deleteWebhook(options?: any): Promise<any>
  • Delete a webhook

    Parameters

    • Optional options: any

    Returns Promise<any>

getWebhooks

  • getWebhooks(params: object, options?: any): Promise<any>
  • Retrieve a collection of webhooks

    Parameters

    • params: object
      • Optional endpoint?: string
      • identityId: string
      • Optional identityName?: string
      • Optional pushOption?: string
    • Optional options: any

    Returns Promise<any>

modifyWebhook

  • modifyWebhook(params: object, options?: any): Promise<any>
  • Modify a webhook

    Parameters

    • params: object
    • Optional options: any

    Returns Promise<any>

registerWebhook

  • registerWebhook(params: object, options?: any): Promise<any>
  • Register webhook Register webhook

    Parameters

    • params: object
    • Optional options: any

    Returns Promise<any>

webhooksOptions

  • webhooksOptions(options?: any): Promise<string[]>
  • What can this endpoint do?

    Parameters

    • Optional options: any

    Returns Promise<string[]>