API Reference / Relationship Types
GET
/relationship_types/{relationship_type_id} Get a specific relationship type
Returns one relationship type with its variants. A single variant means the type is symmetrical and both contacts get the same label; two variants mean each end of the relationship gets a different one.
Path parameters
| Name | Type | Description |
|---|---|---|
relationship_type_id req | string | Relationship type ID |
Responses
200 OK
statusintegerint32Response code
messagestringResponse message
timestampintegerunix-timestampResponse time
dataobjectobject fields →
relationship_typeobjectThe relationship types that identifies the relationships between the contacts.
object fields →
idstringbson-idID of the relationship type
symmetricalbooleanIs the relationship symmetrical? (read only).
relationship_variantsarray<object>requiredThe directional variants of this relationship type.
array item fields →
idstringbson-idID of the relationship type
namestringThe relationship variant name
created_atstringdate-timeCreation time of the relationship type
modified_atstringdate-timeLast modification time of the relationship type
Standard error responses: 400 · 401 · 403 · 404 · 409 · 500 — shared across the API. See Errors.