ValeronDocs

Companies

List a company's people

GET/v1/companies/{company_id}/people

Requires the scope companies:read

The contacts that belong to the company, as a contacts table page. Paged with limit (at most 200) and cursor.

#Path parameters

company_idstringrequired

#Query parameters

limitinteger
Default: 50
Minimum: 1
Maximum: 200
cursorstring or null

#Responses

200Successful Response
Show response fieldsHide response fields
columnsobject[]required
Show child attributesHide child attributes
descriptionstringrequired
groupstringrequired
idstring or nullrequired
is_aibooleanrequired
is_custombooleanrequired
is_multibooleanrequired
is_read_onlybooleanrequired
keystringrequired
labelstringrequired
link_objectstring or nullrequired
metricobject or nullrequired
What a metric column is: the metric, the period it is worked out over and its unit.
Show child attributesHide child attributes
keystringrequired
minimum_sampleintegerrequired
periodstringrequired
unitstringrequired
optionsobject[] or nullrequired
Show child attributesHide child attributes
colorstring or nullrequired
Allowed values: "purple" "green" "red" "yellow" "gray" "pink" "blue" "orange"
labelstringrequired
valuestringrequired
typeobjectrequired
Show child attributesHide child attributes
labelstringrequired
valuestringrequired
dataobject[]required
Show child attributesHide child attributes
idstringrequired
valuesobject (values: string | integer | number | boolean | string[] | object[] | object)required
groupsobject[] or nullrequired
Show child attributesHide child attributes
amountsobject[] or nullrequired
Show child attributesHide child attributes
amountintegerrequired
currencystringrequired
record_countintegerrequired
valuestring or nullrequired
has_morebooleanrequired
next_cursorstring or nullrequired
totalintegerrequired

#Errors

Errors use the standard error shape.

StatusMeaning
400The request is not valid.
401Not signed in, or the credentials are not valid.
402The balance is too low.
403Not allowed to do this.
404Not found.
409Conflicts with the current state.
413The request body is too large.
415The content type is not supported.
422A value in the request is not valid.
429Too many requests. Wait for Retry-After seconds.
500Something went wrong on our side.
502A service Valeron depends on refused the request.
503A service Valeron depends on is unavailable.