GET
/
v1
/
accounts
/
relationships
Get all account relationships
curl --request GET \
  --url http://localhost:8000/v1/accounts/relationships \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "AR123",
    "accountId": "<string>",
    "account": "<string>",
    "relatedAccountId": "<string>",
    "relatedAccount": "<string>",
    "relationshipType": {
      "id": "ART123",
      "name": "Parent",
      "inverseRelationshipId": "ART124",
      "inverseRelationship": "Subsidiary",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter the bearer token

Query Parameters

accountId
string
required

Response

200
application/json

Operation successful

The response is of type object[].