/contacts/{contact_id}/relationships/{relationship_id} Get a specific relationship
Returns one relationship for this contact, naming both parties and the variant label at each end. The contact in the path must be one of the two parties, otherwise the request is rejected as invalid.
Path parameters
| Name | Type | Description |
|---|---|---|
contact_id req | string | Contact ID |
relationship_id req | string | Relationship ID |
Responses
200 OK
statusintegerint32Response code
messagestringResponse message
timestampintegerunix-timestampResponse time
dataobjectobject fields →
relationshipobjectThe relationship mapping between contacts
object fields →
idstringbson-idID of the relationship
relationship_type_idstringbson-idrequiredID of the relationship type
related_contactsarray<object>requiredThe contacts participating in the relationship along with their associated variant names
array item fields →
variant_idstringbson-idID of the relationship variant
variant_namestringThe name of the variant
contact_idstringbson-idID of the contact
first_namestringThe first name of the contact
last_namestringThe last name of the contact
photo_urlstringURL of the contact’s photo
company_idstringbson-idID of the company, to which the contact belongs
company_namestringName of the company, to whom the contact belongs
owner_idstringbson-idID of the user, to whom the contact belongs
created_atstringdate-timeCreation time of the relationship
modified_atstringdate-timeLast modification time of the relationship
Standard error responses: 400 · 401 · 403 · 404 · 409 · 500 — shared across the API. See Errors.