Contact metadata
Table of contents
Locations / addresses
View a contact's locations
Fetch a list of contact's addresses
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/addresses
Returns a list of an contact's locations/addresses.
Query Parameters
String
Example request
Create a location for a contact
Create a contact's address
POST
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/addresses
Request Body
address[address_line_1]*
String
address[address_line_2]
String
address[address_line_3]
String
address[locality]*
String
address[region]*
String
address[postcode]*
String
address[country]*
String
Example request
Update a contact's location
Update an address
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/addresses/:address_id
Request Body
address[address_line_1]
String
address[address_line_2]
String
address[address_line_3]
String
address[locality]*
String
address[region]*
String
address[postcode]*
String
address[country]*
String
Example request
Delete a location/address
Delete an address
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/addresses/:address_id
Path Parameters
:contact_id*
String
Request Body
soft_delete
String
Example request
Phone numbers
View a contact's phone numbers
Fetch a list of a contact's phone numbers
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/phone-numbers
Returns a paginated list of a contact's phone numbers.
Query Parameters
page
Integer
limit
Integer
include[]
Boolean
Example request
View a phone number
Fetch a single phone number
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/phone-numbers/:phone_id
Path Parameters
:phone_id*
UUID
Example request
Add a phone number to a contact record
Create a phone number
POST
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/phone-numbers/:phone_id
Request Body
phone_number[phone_number]*
UUID
Accepts a phone string with an extension. See example below.
Example request
Update a phone number
Update a phone number
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/phone-numbers/:phone_id
Path Parameters
:phone_id*
UUID
Request Body
phone_number[phone_number]
String
phone_number[deleted]
Boolean
If set to false
this will 'undelete' a previously deleted record.
Example request
Delete a phone number
Delete a phone number
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/phone-numbers/:phone_id
Path Parameters
:phone_id*
UUID
Example request
Email addresses
View a contact's email addresses
Fetch a list of a contact's email addresses
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/email-addresses
Returns a paginated list of a contact's email addresses.
Query Parameters
page
Integer
limit
Integer
include[]
Boolean
Example request
View a email address
Fetch a single email address
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/emails/:email_id
Path Parameters
:email_id*
UUID
Example request
Add a contact's email address
Create an email address
POST
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/emails
Request Body
email[email_address]*
String
Example request
Update an email address
Update an email address
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/emails/:email_id
Request Body
email[email_address]*
String
Example request
Delete an email address
Delete an email address
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/emails/:email_id
Path Parameters
:email_id*
UUID
Example request
Contact relationships
View contact relationships
Please note this endpoint returns a list of relationships you create with your contact(s). This does not return your entire contact list. If you'd like to retrieve all your contacts visit this page.
Fetch a list of a contact's relationships
GET
https://web.r0app.com/api/v1/orgs/:org_id/contact_relationships
Returns a list of relationships created for a given contact.
Query Parameters
include[]
String
page
Integer
limit
Integer
Example request
View an individual relationship
Fetch an individual contact relationship record
GET
https://web.r0app.com/api/v1/orgs/:org_id/contact_relationships/:contact_relationship_id
Path Parameters
:contact_relationship_id*
String
Example request
Create a relationship
Create a contact relationship record
POST
https://web.r0app.com/api/v1/orgs/:org_id/contact_relationships
Creates a relationship record between two contacts. The relationship is assumed from the position of the contact included in the path.
Request Body
contact_relationship[second_contact_id]*
String
contact_relationship[anniversary_date]
contact_relationship[relationship_id]*
String
Example request
Update a relationship
Update a relationship record
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contact_relationships/:contact_relationship_id
Path Parameters
:contact_relationship_id*
String
When editing the UUID should be included as a path parameter
Request Body
user_relationship[anniversary_date]*
Example request
Delete a relationship connection
Delete a relationship record
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contact_relationships/:contact_relationship_id
Path Parameters
:contact_relationship_id*
String
UUID of the relationship to be deleted.
Example request
Tags
View a contact's tags
Fetch a list of a contact's tags
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/tags
Returns a paginated list of an contact's tags.
Query Parameters
include[]
String
page
Integer
limit
Integer
Example request
Attach a tag to a contact
Create a contact tag link
PUT
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/tags/:tag_id
Path Parameters
:contact_id*
String
:tag_id*
String
Example request
Delete an contact tag connection
Delete the link between a contact and a tag
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/tags/:tag_id
Path Parameters
:contact_id*
String
:tag_id*
String
Example request
Expertise tags
View a contact's expertise tags
Fetch a list of a contact's expertise tags
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/expertises
Returns a paginated list of an contact's expertise tags.
Query Parameters
include[]
String
page
Integer
limit
Integer
Example request
Attach an expertise tag to a contact
Create a contact expertise tag link
PUT
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/expertises/:expertise_id
Path Parameters
:contact_id*
String
:expertise_id*
String
Example request
Delete an contact expertise tag connection
Delete the link between a contact and an expertise tag
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/expertises/:expertise_id
Path Parameters
:contact_id*
String
:expertise_id*
String
Request Body
soft_delete
String
Example request
Pets
View a contact's pets
Fetch a list of contact's pets
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/pets
Returns a paginated list of a user's pets.
Query Parameters
page
Integer
limit
Integer
Example request
View a pet
Fetch a single pet
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/pets
Path Parameters
:pet_id*
String
Example request
Create a pet related to a contact
Create a contact's pet
POST
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/pets
Request Body
pet[type]
String
Dog, cat, etc...
pet[name]*
String
pet[date_of_birth]
String
pet[secondary_contact_id]
String
Example request
Update a pet
Update a pet
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/pets/:pet_id
Path Parameters
:pet_id*
String
Request Body
pet[name]
String
pet[type]
String
pet[date_of_birth]
String
pet[secondary_contact_id]
String
Example request
Delete a pet
Delete a pet
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/pets/:pet_id
Path Parameters
:pet_id*
String
Example request
Gifts
View gifts associated with a contact
Fetch a list of contact's gifts
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/gifts
Returns a paginated list of a user's gifts.
Query Parameters
page
Integer
include[]
String
limit
Integer
Example request
View a gift
Fetch a single gift
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/gift/:gift_id
Path Parameters
:gift_id*
String
Example request
Create a gift related to a contact
Create a contact gift
POST
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/gifts
Request Body
gift[name]*
String
gift[link]
String
gift[status]*
String
Options: potential
, given
, received
Example request
Update a gift
Update a gift
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/gifts/:gift_id
Request Body
gift[name]
String
gift[link]
String
gift[status]
String
Options: potential
, given
, received
Example request
Delete a gift
Delete a gift
DELETE
https://web.r0app.com/api/v1/orgs/:org_id
Path Parameters
:gift_id*
String
Request Body
soft_delete
String
Example request
Notes
View a contact's notes
Fetch a contact's notes
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id/notes
Returns a paginated list of notes in your account.
Query Parameters
page
Integer
limit
Integer
include[]
String
include[]
String
If set to tags
the first few tags associated with a note will be included in the response.
Example request
Last updated