---
title: "Attach a verified or claimed identity to a lead"
method: POST
path: "/api/leads/{id}/identities"
tags: ["Leads"]
---

# Attach a verified or claimed identity to a lead

`POST /api/leads/{id}/identities`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/leads/{id}/identities`
- Auth: one of:
  - API key in cookie `luca.session_token`
  - API key in header `x-api-key`
  - HTTP bearer

Links another channel handle to this lead. One person who messages you from both Instagram and WhatsApp stays one lead instead of two.

**API key scopes:** `leads:write`. You also need an `Idempotency-Key` header.

## Path parameters

- `id` string, uuid, required

## Headers

- `Luca-API-Version` '1'

## Request body

- LeadIdentityCreate
  - `channel` 'telegram' | 'instagram' | 'messenger' | 'whatsapp', required
  - `externalUserId` string, required
  - `displayName` string
  - `verificationStatus` 'inferred' | 'claimed' | 'verified' | 'rejected'
  - `source` string
  - `sourceRef` string

## Response `200`

ok

- unknown

## Other responses

- `400`: bad request
- `401`: unauthorized
- `409`: conflict
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
