> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getSigningDelegationConsentUrl

> Builds the Para Portal URL where the signed-in user grants, renews or revokes signing delegation.

async

Builds the Para Portal URL where the signed-in user grants, renews or revokes signing delegation.

Copy method signature

### Returns

`string`

The Portal grant page URL.

## Usage

Use it where `requestSigningDelegation` cannot open a popup, such as React Native. Pass a `returnUrl` with your app's custom URL scheme, and read the outcome from the URL the Portal returns to.

```typescript theme={null}
import { parseSigningDelegationConsentOutcome } from "@getpara/react-native-wallet";
import { openAuthSessionAsync } from "expo-web-browser";

const url = await para.getSigningDelegationConsentUrl({
  appId,
  walletId,
  policyId,
  policyVersion,
  policyHash,
  returnUrl: "myapp://signing-delegation",
});

const result = await openAuthSessionAsync(url, "myapp://signing-delegation");
const outcome = result.type === "success" ? parseSigningDelegationConsentOutcome(result.url) : null;
```

```typescript Signature theme={null}
getSigningDelegationConsentUrl(params: SigningDelegationConsentUrlParams): Promise<string>
```

## Access and Portal behavior

Signed-in user. The method returns the URL and does not open it. Outside a browser, such as in React Native, the Portal opens `returnUrl` when the user grants, revokes or declines, with `signingDelegation` set to `granted`, `revoked`, `cancelled` or `error` in its query string, plus `expiresAt` or `errorCode`. `parseSigningDelegationConsentOutcome(url)` turns that URL into a `SigningDelegationConsentOutcome`, or returns `null` for any other URL.

In a browser, the method adds your page's origin to the URL, and the Portal posts the outcome to the window that opened it instead of opening `returnUrl`. [`requestSigningDelegation`](https://docs.getpara.com/v3/references/core/permissions/requestsigningdelegation) handles that for you. Without a `returnUrl`, the Portal closes the page and reports no outcome.

> [!WARNING]
>
> Outside a browser, pass an absolute `returnUrl` with your app's custom scheme. For an `http` or `https` link outside a WebView, the Portal shows **This signing delegation return link is invalid.** after it has saved the user's decision, so the grant changes but your app receives no outcome.

## Errors

| Status | Message | When |
| - | - | - |
| Client | `no userId is set` | No user is signed in, or the session is a guest session. |

<picture>![Signing delegation in React Native](https://docs.getpara.com/images/v3/cards/portal-signing-delegation.png)</picture>

## [Signing delegation in React Native](https://docs.getpara.com/v3/react-native/guides/permissions/signing-delegation.md)

Ask users for access with a deep link.

<picture>![Permissions types](https://docs.getpara.com/images/v3/cards/concept-permissions-types.png)</picture>

## [Permissions types](https://docs.getpara.com/v3/references/types/permissions.md#signing-delegation)

Inputs and responses for every Permissions method.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.