Skip to main content
POST
Batch create user account entity relationships
See Errors for the common errors every v2 endpoint can return.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

A unique key for this request, up to 255 characters. Retrying with the same key and request returns the original response instead of performing the operation again. See Idempotency. A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response instead of performing the operation again.

Required string length: 1 - 255
Example:

"3f1c9a52-7d4e-4b8a-9c21-6e0f5d2a8b14"

Path Parameters

user_account_id
string
required

User Account ID The ID of the User Account object.

Pattern: ^user_account_[0-9A-Za-z]{27}$
Example:

"user_account_2NfK8sLq4RtVwXyZ1aBcDeFgHiJ"

Body

application/json

Request body for adding entities to a user account under one relationship type.

entity_ids
string[]
required

Entity IDs to add to the user account under relationship_type. At least 1, at most 20.

Required array length: 1 - 20 elements

The ID of your entity.

Pattern: ^entity_[^\s]{1,33}$
relationship_type
enum<string>
required

Indicates the type of Entity

Available options:
account_holder,
authorized_signer,
authorized_user
Example:

"account_holder"

Response

Entity relationships created successfully.

user_account_id
string
required

The ID of the User Account object.

Pattern: ^user_account_[0-9A-Za-z]{27}$
Example:

"user_account_2NfK8sLq4RtVwXyZ1aBcDeFgHiJ"

relationship_type
enum<string>
required

Indicates the type of Entity

Available options:
account_holder,
authorized_signer,
authorized_user
Example:

"account_holder"

entity_ids
string[]
required

List of entity IDs associated with the user account under the specified relationship type.

The ID of your entity.

Pattern: ^entity_[^\s]{1,33}$