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

# The applicant opens an invalid or expired link

> Other outcome. Replay it in sandbox with a test persona.

> [!NOTE]
>
> Draft, needs review: the step text is a first draft. The test personas come from the `staging-lucho` catalogue; personas added to it since are not listed yet. Snapshot of 2026-12-02.

The link has expired, was altered, was already used or is missing its details. No session can be found, the flow does not start and the applicant is told to ask the client for a new link (Console journey C5).

**Outcome:** Other outcome. **Shown for:** Essentials, Standard, Full evidence.

## Setup needed

* Any setup: this journey doesn't depend on a switch.

Set these in the Console under **Settings**, then **Configuration**. Direct Connections is always on.

## Test persona

Test persona:

No applicant identity needed for this path.

## Start the journey

> [tab] Console
>
> 0. In the Console, open **Settings**, then **Configuration**, and turn on the sources above. Click **Publish changes**.
>
>    ![Console: choose the sources: Settings, then Configuration: the income sources the applicant is offered.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/configuration--products-with-refusal--06-settingsConfig-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=787c55ea8b68ea4680120e8c689755f9)
>
>    choose the sources (Console)
>
> 1. In the Console, open **Users** and click **Create new user**.
>
> 2. Enter the persona's **Forename**, **Surname**, **Date of birth**, **Postcodes** and, if it has one, **NI number**. Leave the user's source switches matching the setup above. Click **Create user**.
>
>    ![Console: create the user: Users, then Create new user: the applicant's details and their sources.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-create--user-connection-only--08-userCreate-filled.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=f45c2bd7b42a979b61068c4a6dee5f2e)
>
>    create the user (Console)
>
> 3. The Console shows the link for the new user. Click **Copy link** (later, open the user and click **Share links**).
>
>    ![Console: copy the link: The link for the new user. Send it to the applicant.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-create--user-connection-only--09-shareLink-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=964141e160a89e96c0135dbbcc98f51a)
>
>    copy the link (Console)
>
> 4. Open the link in a private browser window. You're now the applicant.

> [tab] API
>
> Create the user with the persona's details, then create a link for it. Replace `<your-sandbox-api-key>` with your own sandbox key.
>
> ```bash Create the user theme={null}
> curl --request POST \
>   --url https://api.sandbox.goteal.co/users \
>   --header 'Content-Type: application/json' \
>   --header 'X-API-KEY: <your-sandbox-api-key>' \
>   --data '{
>   "forename": "<forename>",
>   "surname": "<surname>",
>   "date_of_birth": "<date of birth>",
>   "post_codes": [
>     "<postcode>"
>   ],
>   "payroll_period_months": 12
> }'
> ```
>
> ```bash Create a link for the user theme={null}
> curl --request POST \
>   --url https://api.sandbox.goteal.co/user-tokens \
>   --header 'Content-Type: application/json' \
>   --header 'X-API-KEY: <your-sandbox-api-key>' \
>   --data '{"user_id": "<user_id from the first response>"}'
> ```
>
> Open the `webapp_link` from the response in a private browser window. The applicant gives consent on the first screen, which records the authorisation (`POST /authorisations`).

## Steps

**1. Your application**

\[!NOTE] This happens outside Teal's screens, so there's no screenshot.
The applicant starts in your own app or site, where the Teal link comes from and where they return.

**Do:** Open the link you created for the test user.

**Next:** Invalid or expired link.

**2. Invalid or expired link**

![Invalid or expired link: "This link has expired. Ask whoever sent it for a new one."](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/invalid-link/most-common--02-invalidLink-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=55d36f3959c04d073c092d7bfdd87a4c)

"This link has expired. Ask whoever sent it for a new one."

**Do:** Create a new link for the user.

## Check the result

Expected outcome: **Other outcome**.

* **Console:** open **Users**, find the persona and open the user to see what was shared.

  ![Console: see the result: The user's page: who they are, their employer and the income they shared.](https://mintcdn.com/teal/H4CEKzca7hRtbHOe/images/journeys/_console/applicant-review--download-payslip-report--08-userDetail-empty.webp?fit=max\&auto=format\&n=H4CEKzca7hRtbHOe\&q=85\&s=a9217b2ff46da213fb5c6e63864b749f)

  An example user page (Console). Yours shows this persona and this journey's outcome.

* **API:**

```bash theme={null}
curl --request GET \
  --url https://api.sandbox.goteal.co/payroll/<user_id> \
  --header 'X-API-KEY: <your-sandbox-api-key>'
```


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