---
title: Register your own identifier for a customer
endpoint: POST /api/v3/users/identifiers
description: Names a customer by your own identifier, before they have an account with us. Returns the URL to send them to so they can attach it to their account; once they have, you can act for them by sending the same identifier as the `User-Identifier` header. An identifier that is never linked is discarded after 24 hours, so an abandoned flow does not hold the value permanently. Registering the same identifier again is safe and returns the same registration.
---

`POST /api/v3/users/identifiers`

## Request

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `identifier` | string | required |  | Your own identifier for this customer. Unique within your partner account; two partners may use the same string for different people. |
| `returnUrl` | uri | optional | `https://your.app/checkout/return` | Where to send the customer once they have linked. Replayed to you verbatim. |
| `locale` | string | optional | `nl-nl` | Which locale the link URL should be in. Falls back to the default when unrecognised. |

## Responses

| Status | Meaning |
| --- | --- |
| 200 | Registered. |
| 400 | Invalid request. |
| 401 | Bad credentials. |
| 503 | `maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`. |

| Field | Type | Required | Example | Description |
| --- | --- | --- | --- | --- |
| `linkUrl` | uri | required | `https://your.app/callback` | Send the customer here to attach the identifier to their account. |
| `alreadyLinked` | boolean | required |  | True when this identifier already belongs to an account. |
