Skip to content

URL parameters

You customise the Consent Dashboard entirely through URL parameters appended when you send a user to it. All parameters are optional and can be combined in a single URL.

There are two groups:

Throughout this page your-dashboard.com is a placeholder for your configured dashboard URL, e.g. your-company.dashboard.adatree.com.au.

ParameterNameDescription
uciUse case IDIf you have more than one use case configured on your dashboard you can send the user directly to a use case by setting the use case id parameter.

You may find your use case IDs in the Management Console, provisioned to you after onboarding.

Example: https://your-dashboard.com/create?uci=USE_CASE_ID
dhiData holder IDIf you want to send the end user directly to the consent page with a preselected data holder, you can set the data holder ID. Note that the data holder has to be associated with the use case, if not the end user will be sent to the Select data holder page.

You may obtain data holder IDs from the CDR Register’s Get Data Holder Brands Summary endpoint.

Example: https://your-dashboard.com/create?dhi=a1234567-123a-e456-789b-000000000000
eidExternal IDAn identifier assigned by your organisation to track a specific consent within your system. This ID is attached to the consent record, enabling you to associate it with other related data across your system.

Example: https://your-dashboard.com/create?eid=your-external-id
gidGrantee IDAn identifier assigned to a Grantee, a third-party Trusted Adviser (TA) such as a broker, accountant, or financial planner, who has been authorised by a consumer (through an Accredited Data Recipient) to access their CDR data.

This parameter is used exclusively within a Trusted Adviser Service Provider (TASP) consent flow. It specifies which Grantee the end user is granting consent to share their data with.

If you use the TA or TASP operating model, you may find your Grantee IDs in the Management Console.

Example: https://your-dashboard.com/create?gid=some-grantee-id

Adatree configures a set of default redirects for your tenant: where users go after creating a consent, after managing consents, and when an error occurs. The three redirect parameters below let you override those defaults for a single request, sending the user somewhere different depending on your needs.

ParameterNameOverrides the default for…
ccrCreate and update consent redirectCalled after a consent is successfully created or updated.
mcrManage consent redirectCalled when the user clicks Back or Done in the Manage Consent List section.
aerApplication error redirectCalled when an error is thrown in the Consent Dashboard application.

The redirect values may contain placeholder tokens (such as [consentId] or [error]) that the dashboard replaces with real values before redirecting. Where you put each token (in the path or as a query parameter) is up to you. To see exactly when each redirect fires in practice, read User flows.

Overrides your default create-consent redirect.

Return tokens

TokenReplaced with
[consentId]The Consent ID of the successfully created consent.

Examples (URL encoded)

To redirect the user to https://my-app.com.au/1234-xxx-xxx-xxx-5678 (where the trailing segment is the consent ID):

https://your-dashboard.com?ccr=https%3A%2F%2Fmy-app.com.au%2F%5BconsentId%5D

To redirect the user to https://my-app.com.au/post-consent?id=1234-xxx-xxx-xxx-5678:

https://your-dashboard.com?ccr=https%3A%2F%2Fmy-app.com.au%2Fpost-consent%3Fid%3D%5BconsentId%5D

Overrides your default manage-consent redirect. This redirect has no return tokens.

Overrides your default error redirect.

Return tokens

TokenReplaced with
[error]An error code. See the error codes reference.
[errorDescription]The error description.
[consentId]The Consent ID. Returns undefined if not available when the error occurs.
[dataHolderId]The Data Holder ID. Returns undefined if not available when the error occurs.
[dataHolderName]The Data Holder name. Returns undefined if not available when the error occurs.

Examples (URL encoded)

https://your-dashboard.com?aer=http%3A%2F%2Fmy-app.com.au%2Fmy-error-page%2F%5Berror%5D
https://your-dashboard.com?aer=http%3A%2F%2Fmy-app.com.au%2Fmy-error-page%3Fmy-error%3D%5Berror%5D
https://your-dashboard.com?aer=http%3A%2F%2Fmy-app.com.au%2Fmy-error-page%2F%5Berror%5D%3Fmy-error-description%3D%5BerrorDescription%5D
https://your-dashboard.com?aer=http%3A%2F%2Fmy-app.com.au%2Fmy-error-page%3Fmy-error%3D%5Berror%5D%26my-error-description%3D%5BerrorDescription%5D

Parameters from both groups can be combined in a single URL. For example, to send the user straight to a specific use case and data holder, and control where they land afterwards:

https://your-dashboard.com/create?uci=USE_CASE_ID&dhi=DATA_HOLDER_ID&ccr=https%3A%2F%2Fmy-app.com.au%2F%5BconsentId%5D&aer=https%3A%2F%2Fmy-app.com.au%2Ferror%2F%5Berror%5D