Relationships
This endpoint is a BETA endpoint and not currently available in the mobile or web application.
This endpoint provides a list of relationships in R0. Relationships track more granular data about how you and your contacts are related. R0 then provides additional tools to view and manage these relationships. For example, you can track your partner(s) and anniversary dates as well as set reminders for these dates.
Since relationships are two sided the inverse of a relationship may be included within the relationship_id
field. For example, a parent and child will reference each other. When a user relationship is created, if there's a record in the relationship_id
field another record will automatically be created for the other individual in the relationship.
Example:
The relationships table includes a parent and child among several other records:
The user's table includes a record for Bart (id = 492788b9-be39-4923-b6a8-0850feee232a
and Marge Simpson (id = 6a909023-a55d-419b-bb39-8b3fb9ebe1ac
). So creating a relationship with Bart/Marge only requires making one request to manage both sides of a relationship:
Resources
Fetch a list of available relationships
GET
https://web.r0app.com/api/v1/relationships
Returns a list of types of relationships available in R0.
Example request
User & contact relationships
These endpoints help you manage your relationships with your contacts (user_relationships) and the relationships your contacts have with each other (contact_relationships).
Links:
Last updated