---
title: "Create Identity Relationship Endpoint"
method: POST
path: "/api/v1/identities/{identity_id}/relationships"
tags: ["identities"]
---

# Create Identity Relationship Endpoint

`POST /api/v1/identities/{identity_id}/relationships`

## Request

- Base URL: `https://api.withverifa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.withverifa.com/api/v1/identities/{identity_id}/relationships`
- Auth: none declared

Create a bidirectional relationship between two identities.

Accepts either a built-in type (USER_RELATIONSHIP_TYPES) or an active
org-defined custom relationship type for the current environment.
Both identities must belong to the same org and environment.

## Path parameters

- `identity_id` string, required

## Request body

- CreateRelationshipRequest
  - `related_identity_id` string, required
  - `relationship_type` string
  - `note` string, nullable
  - `metadata` object, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/withverifa/apis/verifa.md) · [All operations](https://skmtc.dev/withverifa/apis/verifa/llms.txt) · [OpenAPI document](https://skmtc.dev/withverifa/apis/verifa/revisions/7288c82c9e33?raw)
