# List subscriptions

List subscriptions

Endpoint: GET /v2/webhooks/{webhookId}/subscriptions
Version: 2.0
Security: TokenAuth

## Path parameters:

  - `webhookId` (string, required)
    The webhook ID

## Query parameters:

  - `pageSize` (integer)
    The number of results to return per page (default 50, max 100)

  - `pageToken` (string)
    The token to retrieve the next page of results

## Response 200 fields (application/json):

  - `filter` (object)

  - `filter.previousPageToken` (string)
    The token to retrieve the previous page of results
    Example: "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA="

  - `filter.nextPageToken` (string)
    The token to retrieve the next page of results
    Example: "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA="

  - `filter.total` (integer, required)
    The total number of results
    Example: 100

  - `subscriptions` (array)

  - `subscriptions.id` (string, required)
    The webhook subscription ID
    Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"

  - `subscriptions.webhookId` (string, required)
    The webhook ID
    Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"

  - `subscriptions.createdBy` (string, required)
    The ID of the user who created this webhook
    Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"

  - `subscriptions.createdAt` (string, required)
    The date and time the webhook was created
    Example: "2022-03-29T10:22:22.420Z"

  - `subscriptions.updatedBy` (string, required)
    The ID of the user who updated this webhook
    Example: "ce4918bf-a199-4ce2-85a3-d0d296855384"

  - `subscriptions.updatedAt` (string, required)
    The date and time the webhook was updated
    Example: "2022-03-29T10:22:22.420Z"

  - `subscriptions.config` (object, required)

  - `subscriptions.config.domain` (string, required)
    Enum: "TRANSACTION", "WALLET", "APPROVAL"

  - `subscriptions.config.scope` (string, required)
    Enum: "ORG"

## Response 400 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)


