Skip to main content
PUT
cURL

Authorizations

X-API-KEY
string
header
required

Query Parameters

domain
string
required

Domain to look up. If a company with this domain exists it will be updated; otherwise a new company is created.

structure
enum<string>
default:NESTED

Format of custom fields in response. NESTED returns array of objects with id, field_name, field_value. FLAT returns object with field names as keys.

Available options:
FLAT,
NESTED

Body

domain
string
required
name
string
company_status
string
company_custom_fields
object[]

Response

OK. The company already existed and was updated.

id
integer
required
read-only
updated_time
string<date-time>
required
read-only
domain
string
required
previous_status
string | null
required
read-only
status_changed_at
string<date-time> | null
required
read-only
name
string
company_status
string
company_custom_fields
object[]