---
title: "Get consent template"
method: GET
path: "/connectivity/v2/consent-templates/{providerId}"
tags: ["Connectivity v2.Consent Templates", "BETA"]
---

# Get consent template

`GET /connectivity/v2/consent-templates/{providerId}`

Request a JSON schema template that's used to create a mandate.

## Path parameters

- `providerId` string, required

## Query parameters

- `type` 'MANDATE_PAYMENTS'
- `subType` 'VRP_SWEEPING' | 'VRP_COMMERCIAL'

## Response `200`

Consent template successfully fetched

- GetConsentFinancialServiceParametersTemplatesResponse
  - `templates` FinancialServiceTemplate[]
    - `deprecated` boolean, required — If true it means there is a newer template version for the given type/subtype and that it should be used instead of this one.
    - `schema` object, required — Consent template JSON schema. Represents required parameters during creation of a chosen consent type.
    - `subtype` 'VRP_SWEEPING' | 'VRP_COMMERCIAL', required — Subtype of the financial service.
    - `supportedUntil` string, date-time — Expected date at which this version of the template will not be supported anymore.
    - `type` 'MANDATE_PAYMENTS', required — Type of the financial service.
    - `version` string — Version of the template.

## Other responses

- `400` — Invalid input.
- `401` — Unauthorized request.
- `403` — Permission denied.
- `404` — Provider not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/tink/apis/tink-api.md) · [All operations](https://skmtc.net/tink/apis/tink-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tink/tink-api/revisions/23d8982b533d/schema)
