---
title: "Insert account relationship."
method: POST
path: "/v1/accounts/relationship/insert"
tags: ["accounts"]
---

# Insert account relationship.

`POST /v1/accounts/relationship/insert`

Insert an account relationship. Fails if relationship already exists.

## Request body

- InsertAccountRelationshipRequest — Request to insert an account relationship.
  - `user_profile_id` string, required — The user profile ID.
  - `account_id` string, required — The account ID.

## Response `200`

OK

- EmptyRecord

## Changes

- **2025-11-19** `5f33221208c1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/runloopai/apis/runloop-api/changes/v1/accounts/relationship/insert/post.md)

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/5f33221208c1/schema)
