---
title: "Requests opt in identity token"
method: POST
path: "/v1/publicapplets/{hashId}/optin/request_identity_token"
tags: ["publicapplets"]
---

# Requests opt in identity token

`POST /v1/publicapplets/{hashId}/optin/request_identity_token`

## Request

- Base URL: `https://apiv1.linkmobility.eu/api`
- URL: `https://apiv1.linkmobility.eu/api/v1/publicapplets/{hashId}/optin/request_identity_token`
- Auth: none declared

## Path parameters

- `hashId` string, required

## Request body

- RequestIdentityTokenRequestDto
  - `identityType` string: identity type
  - `value` string: value (e.g. msisdn)

## Response `200`

OK

- RequestIdentityTokenResponseDto
  - `identityType` string: identity type
  - `value` string: value (e.g. msisdn)
  - `identityToken` string: identity token
  - `links` Link[]: links
    - `rel` string
    - `href` string

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/linkmobility/apis/linkmobility-api.md) - [All operations](https://skmtc.dev/linkmobility/apis/linkmobility-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linkmobility/apis/linkmobility-api/revisions/029548691274?raw)
