# Get subscriptions

Get a single subscription based on its ID

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

## Security:

  - `TokenAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

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

  - `subscriptionId` (string, required)
    The subscription ID

## Response 200 fields (application/json):

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

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

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

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

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

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

  - `config` (object, required)
    The configuration for the webhook subscription
    Example: {"domain":"TRANSACTION","scope":"ORG"}

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

  - `config.scope` (string, required)
    The scope to subscribe to
    Enum: "ORG"

## Response 400:

  - `400` (unknown)
    Returned when the request is malformed or invalid.

## Response 400 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 401:

  - `401` (unknown)
    Returned when the request was unauthorized.

## Response 401 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 403:

  - `403` (unknown)
    Returned when the request was forbidden.

## Response 403 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 404:

  - `404` (unknown)
    Returned when the resource does not exist.

## Response 404 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response default:

  - `default` (unknown)
    An unexpected error response.

## Response default fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 400 examples:

  - `response` (unknown)

## Response 401 examples:

  - `response` (unknown)

## Response 403 examples:

  - `response` (unknown)

## Response 404 examples:

  - `response` (unknown)

