GET
/
v1
/
accounts
/
relationships
/
types
curl --request GET \
  --url https://platform.thena.ai/v1/accounts/relationships/types \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <api-key>'
[
  {
    "id": "ART123",
    "name": "Parent",
    "inverseRelationshipId": "ART124",
    "inverseRelationship": "Subsidiary",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Response

200
application/json
Operation successful
id
string
required

The identifier of the relationship type

Example:

"ART123"

name
string
required

The name of the relationship type

Example:

"Parent"

inverseRelationshipId
string
required

The identifier of the inverse relationship type

Example:

"ART124"

inverseRelationship
string
required

The name of the inverse relationship type

Example:

"Subsidiary"

createdAt
string
required

The creation date of the relationship type

updatedAt
string
required

Last update date of the relationship type