---
search:
  tags:
    - Contact details
    - POST
seo:
  description: >-
    Adds a phone number for a user. Idempotent via Idempotency-Key header.
    Scoped to your… Reference for the POST /users/{id}/phones endpoint in the
    Fuxam API v4.
sidebar:
  label: Add a phone
  badge: POST
title: Add a phone
type: openapi-operation
---
Adds a phone number for a user. Idempotent via `Idempotency-Key` header. Scoped to your integration's institution via Basic Auth credentials.

`POST /users/{id}/phones`

**Request body** (`application/json`, required)

- `phoneNumber` (string, required)
- `phoneType` (string, required)
- `isPrimary` (boolean)

Request body example:

```json
{
  "phoneNumber": "string",
  "phoneType": "mobile",
  "isPrimary": false
}
```

**Responses**

- `201` — Phone added
- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict — duplicate email or membership code (body includes \`existingUserId\` when known), a time-tracking session that is already running (\`activeSession\`), a time-tracking interval that overlaps an existing log (\`conflictingLog\`), idempotency key reused with a different body (\`idempotency\_key\_reused\`), or concurrent request with the same key still in progress (\`idempotency\_key\_in\_progress\`)
- `429` — Too Many Requests — 1000 requests per minute per institution. Includes \`X-RateLimit-Limit\`, \`X-RateLimit-Remaining\`, \`X-RateLimit-Reset\` (ISO-8601), and \`Retry-After\` (seconds).
- `500` — Internal Server Error
- `503` — Service unavailable — idempotency store temporarily unreachable, or the database is busy (lock wait, transaction timeout, or exhausted serialization/deadlock retries). Database contention includes \`Retry-After: 1\`. The idempotency key is released. Retry the same key (\`service\_unavailable\`).

Response example, 201:

```json
{
  "data": {
    "id": "string",
    "phoneNumber": "string",
    "phoneType": "mobile",
    "isPrimary": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "meta": {
    "requestId": "req_1234567890_abc",
    "timestamp": "2026-06-02T07:00:00.000Z",
    "version": "v4",
    "watermark": "2019-08-24T14:15:22Z"
  }
}
```
