---
title: Register a new user identifier
endpoint: POST /api/v1/user/register-identifier
description: This endpoint registers a user identifier and returns a URL to register an account which will be linked to the registered identifier.
---

`POST /api/v1/user/register-identifier`

## Request

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `identifier` | string | required | `c6fefe8d7ac0f4113876d634e8d15f65947f1b62d4859fffcd2464d2be58b2d8` | The user identifier you want to register. |
| `returnUrl` | string | required | `https://example.com?action=buy` | The URL which will be used to return to your client. |

## Responses

| Status | Meaning |
| --- | --- |
| 200 | User identifier registered successfully. |
| 400 | A list of possible errors for this endpoint. |

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `redirectUrl` | string | optional |  | The redirect URL per locale. |
