# Create a caller identity

Creates a caller identity.

```http
POST https://api.pozy.ai/v1/branded-calling/identities
```

- Area: Phone & voice / Branded Calling
- Auth: Authorization: Bearer pz_live_...
- Not available yet: calls return 403 feature_not_available

## Header parameters

- `Idempotency-Key` (string)

## Request body

Content type: `application/json`

- `enterpriseId`, string, required
- `displayName`, string, required: 1 to 35 characters
- `callReasons`, array of string, required: At least 1 item. Up to 10 items. Each item: up to 64 characters
- `logoUrl`, string
- `authorizer`, object, required
  - `name`, string, required: Up to 255 characters
  - `email`, string (email), required
- `references`, object, required
  - `business`, array of object, required: At least 2 items. Up to 2 items
    - `fullName`, string, required: Up to 255 characters
    - `jobTitle`, string: Up to 255 characters
    - `organization`, string: Up to 255 characters
    - `relationshipToRegistrant`, string: Up to 255 characters
    - `phoneNumber`, string, required
    - `email`, string (email), required
    - `timezone`, string, required
  - `financial`, object, required
    - `fullName`, string, required: Up to 255 characters
    - `jobTitle`, string: Up to 255 characters
    - `organization`, string: Up to 255 characters
    - `relationshipToRegistrant`, string: Up to 255 characters
    - `phoneNumber`, string, required
    - `email`, string (email), required
    - `timezone`, string, required

## Example request

```bash
curl -X POST "https://api.pozy.ai/v1/branded-calling/identities" \
  -H "Authorization: Bearer $POZY_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "enterpriseId": "66496a86752378ad82057ff6",
  "displayName": "Acme",
  "callReasons": [
    "string"
  ],
  "authorizer": {
    "name": "Acme",
    "email": "alex@example.com"
  },
  "references": {
    "business": [
      {
        "fullName": "Acme",
        "phoneNumber": "+14155550123",
        "email": "alex@example.com",
        "timezone": "America/New_York"
      }
    ],
    "financial": {
      "fullName": "Acme",
      "phoneNumber": "+14155550123",
      "email": "alex@example.com",
      "timezone": "America/New_York"
    }
  }
}'
```

```ts
import { randomUUID } from "node:crypto";

const res = await fetch("https://api.pozy.ai/v1/branded-calling/identities", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POZY_API_KEY}`,
    "Idempotency-Key": randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    enterpriseId: "66496a86752378ad82057ff6",
    displayName: "Acme",
    callReasons: [
      "string"
    ],
    authorizer: {
      name: "Acme",
      email: "alex@example.com"
    },
    references: {
      business: [
        {
          fullName: "Acme",
          phoneNumber: "+14155550123",
          email: "alex@example.com",
          timezone: "America/New_York"
        }
      ],
      financial: {
        fullName: "Acme",
        phoneNumber: "+14155550123",
        email: "alex@example.com",
        timezone: "America/New_York"
      }
    }
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.post(
    "https://api.pozy.ai/v1/branded-calling/identities",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    json={
        "enterpriseId": "66496a86752378ad82057ff6",
        "displayName": "Acme",
        "callReasons": [
            "string",
        ],
        "authorizer": {
            "name": "Acme",
            "email": "alex@example.com",
        },
        "references": {
            "business": [
                {
                    "fullName": "Acme",
                    "phoneNumber": "+14155550123",
                    "email": "alex@example.com",
                    "timezone": "America/New_York",
                },
            ],
            "financial": {
                "fullName": "Acme",
                "phoneNumber": "+14155550123",
                "email": "alex@example.com",
                "timezone": "America/New_York",
            },
        },
    },
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 201

- `id`, string
- `enterpriseId`, string
- `displayName`, string: Up to 35 characters
- `callReasons`, array of string: Each item: up to 64 characters
- `callReasonsPreApproved`, boolean
- `logoUrl`, string: Can be null
- `authorizer`, object
  - `name`, string
  - `email`, string (email)
- `references`, object
  - `business`, array of object, required: At least 2 items. Up to 2 items
    - `fullName`, string, required: Up to 255 characters
    - `jobTitle`, string: Up to 255 characters
    - `organization`, string: Up to 255 characters
    - `relationshipToRegistrant`, string: Up to 255 characters
    - `phoneNumber`, string, required
    - `email`, string (email), required
    - `timezone`, string, required
  - `financial`, object, required
    - `fullName`, string, required: Up to 255 characters
    - `jobTitle`, string: Up to 255 characters
    - `organization`, string: Up to 255 characters
    - `relationshipToRegistrant`, string: Up to 255 characters
    - `phoneNumber`, string, required
    - `email`, string (email), required
    - `timezone`, string, required
- `status`, string: One of `requested`, `changes_requested`, `rejected`, `pending_email_verification`, `in_review`, `verified`, `suspended`, `expired`, `permanently_rejected`
- `rejectionReasons`, array of object
  - `code`, string
  - `title`, string
  - `detail`, string
  - `message`, string: Can be null
- `reviewNote`, string: Can be null
- `reviewRequest`, object: Can be null
  - `id`, string
  - `intro`, string
  - `points`, array of object
    - `id`, string
    - `title`, string
    - `detail`, string
    - `answer`, string: One of `text`, `link`, `file`, `link_or_file`
- `emailVerifiedAt`, string (date-time): Can be null
- `submittedAt`, string (date-time): Can be null
- `verifiedAt`, string (date-time): Can be null
- `expiringAt`, string (date-time): Can be null
- `numbers`, array of object
  - `phoneNumberId`, string
  - `phoneNumber`, string
  - `status`, string: One of `submitted`, `in_review`, `verified`, `unsuccessful`, `suspended`, `expired`, `permanently_rejected`
  - `rejectionReason`, object: Can be null
    - `code`, string
    - `title`, string
    - `detail`, string
    - `message`, string: Can be null
  - `verifiedAt`, string (date-time): Can be null
  - `addedAt`, string (date-time): Can be null
- `createdAt`, string (date-time): Can be null
- `updatedAt`, string (date-time): Can be null

```json
{
  "id": "6bfebd43ddc270f6d2c56fc5",
  "enterpriseId": "66496a86752378ad82057ff6",
  "displayName": "Acme",
  "callReasons": [
    "string"
  ],
  "callReasonsPreApproved": true,
  "logoUrl": "https://pozy.ai/media/example-1.jpg",
  "authorizer": {
    "name": "Acme",
    "email": "alex@example.com"
  },
  "references": {
    "business": [
      {
        "fullName": "Acme",
        "jobTitle": "string",
        "organization": "string",
        "relationshipToRegistrant": "string",
        "phoneNumber": "+14155550123",
        "email": "alex@example.com",
        "timezone": "America/New_York"
      }
    ],
    "financial": {
      "fullName": "Acme",
      "jobTitle": "string",
      "organization": "string",
      "relationshipToRegistrant": "string",
      "phoneNumber": "+14155550123",
      "email": "alex@example.com",
      "timezone": "America/New_York"
    }
  },
  "status": "requested",
  "rejectionReasons": [
    {
      "code": "string",
      "title": "Launch day",
      "detail": "string",
      "message": "Hello from Pozy"
    }
  ],
  "reviewNote": "string",
  "reviewRequest": {
    "id": "6bfebd43ddc270f6d2c56fc5",
    "intro": "string",
    "points": [
      {
        "id": "6bfebd43ddc270f6d2c56fc5",
        "title": "Launch day",
        "detail": "string",
        "answer": "text"
      }
    ]
  },
  "emailVerifiedAt": "2026-10-02T09:00:00.000Z",
  "submittedAt": "2026-10-02T09:00:00.000Z",
  "verifiedAt": "2026-10-02T09:00:00.000Z",
  "expiringAt": "2026-10-02T09:00:00.000Z",
  "numbers": [
    {
      "phoneNumberId": "698fba0989716df44adb771f",
      "phoneNumber": "+14155550123",
      "status": "submitted",
      "rejectionReason": {
        "code": "string",
        "title": "Launch day",
        "detail": "string",
        "message": "Hello from Pozy"
      },
      "verifiedAt": "2026-10-02T09:00:00.000Z",
      "addedAt": "2026-10-02T09:00:00.000Z"
    }
  ],
  "createdAt": "2026-10-02T09:00:00.000Z",
  "updatedAt": "2026-10-02T09:00:00.000Z"
}
```
