Skip to main content
POST
Add an organization

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
name
string
required

Cannot be emptied.

kind
enum<string>
default:other

What the organization is.

Available options:
veterinary_practice,
rescue,
shelter,
supplier,
employer,
government,
other
email
string | null
phone
string | null

The main phone number, kept as you send it. It is also the main location's phone.

website
string | null
address
object

Every part is optional, and a key not listed here is refused. An empty or null part is removed.

notes
string | null
is_emergency
boolean

Veterinary practices only: it takes emergencies.

is_primary_vet
boolean

Veterinary practices only: the practice you use by default. One organization at most has it, so setting it takes it from the other.

relationship
enum<string> | null

What the organization is to you, or null for nothing yet.

Available options:
prospect,
active_client,
past_client,
partner,
supplier,
competitor,
null
relationship_since
string<date> | null

The day the relationship began. Today when the relationship changes, unless you send it.

industry_code
string | null

A NAICS or SIC code, 12 characters at most.

Maximum string length: 12
industry_label
string | null

What the industry code means, 160 characters at most.

Maximum string length: 160

Response

The organization, as it was created.

id
string
required
name
string
required
kind
enum<string>
required

What the organization is.

Available options:
veterinary_practice,
rescue,
shelter,
supplier,
employer,
government,
other
email
string | null
required
phone
string | null
required
website
string | null
required
address
object
required

Every part is optional, and a key not listed here is refused. An empty or null part is removed.

notes
string | null
required
is_active
boolean
required

false when it is archived.

is_emergency
boolean
required

Always false for anything but a veterinary practice.

is_primary_vet
boolean
required

Always false for anything but a veterinary practice.

relationship
enum<string> | null
required
Available options:
prospect,
active_client,
past_client,
partner,
supplier,
competitor,
null
relationship_since
string<date> | null
required
industry_code
string | null
required
industry_label
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required