Contacts
A contact represent a single individual, typically human.
View contacts
Fetch a list of contacts
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts
Returns a paginated list of an organization's contacts.
Query Parameters
include[]
String
page
Integer
limit
Integer
search
String
Optional: can be used to search for contact details. (Don't forget to URL encode query parameters)
Example request
View a contact
Fetch a single contact
GET
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id
Returns a single contact. If you need to gather user metadata as well you may reduce the number of requests by using the ?include[] parameter.
Path Parameters
:contact_id*
String
Query Parameters
include[]
String
You can include tags
, pets
, phone_numbers
, email_addresses
, locations
, and/or expertise_tags
metadata.
Example request
Create a contact
You may have duplicate contacts within a platform or across various platforms like LinkedIn or Facebook. If you have a connection with an individual on one of these platforms it's recommended you create that user via a import or through one of the integrations. These workflows will allow you to stage new users, we attempt to find duplicate contacts and allow you to resolve duplicate warnings before importing contacts.
Create a contact
POST
https://web.r0app.com/api/v1/orgs/:org_id/contacts
Request Body
contact[first_name]*
String
contact[middle_name]
String
contact[last_name]
String
contact[relationship_type]*
Integer
contact[nickname]
String
contact[employer]
String
contact[job_title]
String
contact[linkedin_url]
String
contact[how_you_met]
String
contact[birthday]
String
contact[gender]
String
Options: male
, female
, transgender
, non-binary
, other
Example request
Update a contact
Update a contact
PATCH
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id
Request Body
contact[first_name]
String
contact[middle_name]
String
contact[last_name]
String
contact[relationship_type]
Integer
contact[nickname]
String
contact[employer]
String
contact[job_title]
String
contact[linkedin_url]
String
contact[how_you_met]
String
contact[birthday]
String
contact[gender]
String
Options: male
, female
, transgender
, non-binary
, other
Example request
Delete a contact
Delete a contact
DELETE
https://web.r0app.com/api/v1/orgs/:org_id/contacts/:contact_id
Path Parameters
:contact_id*
String
Request Body
soft_delete
String
Example request
Last updated