Companies

Create a company

POST
https://api.searchsoftware.nl/v4/records/companies

Creates a company record. Requires companies:write. Create can set custom fields in the same format as PATCH.

Body

application/json
namestringrequired

Company name

created_bystring

user ID of the record creator

assigned_tostring

user ID to assign the company to

assigned_bystring

user ID of the assigner

workflow_idstring

Workflow ID to attach on creation. When omitted, the workspace default workflow for this item type is used (see GET /v4/workflows/defaults); without a default the record gets no workflow.

workflow_phase_idstring

Workflow phase ID to place the new company in. Requires workflow_id. Must belong to that workflow. When omitted, the workflow's default sourcing phase is used if set; otherwise the company is attached to the workflow without a phase.

primary_document_idstring

file ID for the primary document

custom_fieldsobject

Object keyed by custom-field slug. Values may be strings, numbers, booleans, arrays, objects, or null. Image/file custom fields are read as image:<sqid> / file:<sqid> reference tokens and may be written with a linked object sqid or matching token.

Response

Company created

Response fields application/json
statusstringokrequired
Example
ok
dataCompanyCreateDatarequired
Show child attributes
idstringrequired

Identifier

Example
vM7Lp2q
typestringrequired
Example
company
attributesCompanyAttributesrequired

Base company fields plus custom field values keyed by field slug. Scalar custom fields, single_select, one_to_one, image, and file values are string or null; multiple_select and one_to_many values are arrays of strings. The derived active_job_count attribute is an integer.

Show child attributes
linkedin_urlstring | null

Most recently added LinkedIn bookmark URL (linkedin.com, www., or a 2-letter country subdomain), as stored. Null when none.

github_urlstring | null

Most recently added GitHub bookmark URL, as stored. Null when none.

twitter_urlstring | null

Most recently added X/Twitter bookmark URL (twitter.com or x.com), as stored. Null when none.

facebook_urlstring | null

Most recently added Facebook bookmark URL, as stored. Null when none.

instagram_urlstring | null

Most recently added Instagram bookmark URL, as stored. Null when none.

namestring
Example
Acme Corp
created_atstring<date-time>
Example
2026-03-10T14:30:00Z
updated_atstring<date-time>
Example
2026-03-10T14:30:00Z
email_addressstring<email> | null
phone_numberstring | null
addressstring | null
active_job_countinteger<int32>

Number of active jobs attached to this company. Active means the job's status is one of "" (unset), "normal", or "highlight"; closed, inactive, and deleted jobs are excluded. Always present; 0 when the company has no active jobs.

Example
7
assigned_tostring | null

Identifier

Example
vM7Lp2q
assigned_atstring<date-time> | null
Example
2026-03-10T14:30:00Z
assigned_bystring | null

Identifier

Example
vM7Lp2q
created_bystring | null

Identifier

Example
vM7Lp2q
image_idstring | null

Identifier

Example
vM7Lp2q
primary_document_idstring | null

Identifier

Example
vM7Lp2q
access_level_idstring | null

Access level ID protecting this record, or null when unrestricted. Read-only.

Example
vM7Lp2q
image_urlstring<uri> | null
profile_urlstring<uri> | null

Absolute profile link. Pikaflow uses an opaque record ID; SearchSoftware uses the numeric record ID.

statusstring
Example
normal
status_changed_atstring<date-time> | null
Example
2026-03-10T14:30:00Z
workflow_idstring | null

Identifier

Example
vM7Lp2q
workflow_phase_statusstring | null

Name of the workflow phase the record is currently in. Null when the record is not in a workflow phase.

Example
Interview
workflow_stage_statusstring | null

Name of the workflow stage that owns the current phase. Null when the record is not in a workflow phase or the phase has no stage.

Example
Screening
workflow_phase_status_changed_atstring<date-time> | null

When the record last entered its current workflow phase. Null when the phase has never been set.

Example
2026-03-10T14:30:00Z
typesArray<string>

Prefixed identifiers of the types linked to this company. Empty array when none.

Example
[
  "company_type:Xy3",
  "company_type:Q9a"
]
listsArray<string>

Prefixed identifiers of the lists this record is a member of, oldest membership first, capped at 100. Archived lists are included. Empty array when none. Resolve names with values=true (needs lists:read), or use GET /v4/lists.

Example
[
  "list:Ab9QwErTyU12",
  "list:Cd4ZxCvBnM34"
]
categoriesArray<string>

Prefixed identifiers of the categories set on this record, by category name, capped at 100. Empty array when none. Resolve names with values=true (needs categories:read), or use GET /v4/categories.

Example
[
  "category:Ef7PoIuYtR56"
]
sourcesArray<string>

Prefixed identifiers of the record's sources, oldest link first, capped at 100; usually one, set with PUT /v4/records/{type}/{id}/source. Empty array when none. Resolve names with values=true (needs sources:read), or use GET /v4/sources.

Example
[
  "source:Kl3MnBvCxZ90"
]
aliasArray<string>

Alternative names stored for this record, oldest first. Empty array when none.

Example
[
  "Jane D.",
  "J. Doe"
]
[key: string]string | Array<string>

A scalar string or null for scalar-cardinality attributes, or an array of strings for multiple_select and one_to_many attributes.

Show child attributes
One of
string | null
Example
custom_field_option:Xy3
Array<string>
custom_field_formatsCustomFieldFormatsrequired

Text custom-field render formats keyed by field slug. Values are plain, markdown, or html.

Show child attributes
[key: string]stringplainmarkdownhtml
Example
markdown
400Bad RequestErrorResponse

Invalid request body

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_BODY",
    "status_code": 400,
    "message": "Invalid request body"
  }
}
401UnauthorizedErrorResponse

Invalid API key

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_API_KEY",
    "status_code": 401,
    "message": "Invalid API key"
  }
}
403ForbiddenErrorResponse

Insufficient scope

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "FORBIDDEN",
    "status_code": 403,
    "message": "Insufficient scope"
  }
}
422Unprocessable EntityErrorResponse

Validation error

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "VALIDATION_FAILED",
    "status_code": 422,
    "message": "Validation failed"
  }
}
500Internal Server ErrorErrorResponse

Internal server error

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INTERNAL_ERROR",
    "status_code": 500,
    "message": "Internal server error"
  }
}

Authorization

bearer_authhttp (bearer) in header

API key or OAuth access token in Authorization header

Scopes: companies:write

oauth2_authoauth2

OAuth authorization code flow with mandatory S256 PKCE.

Scopes: companies:write

apikey_authapiKey in query

API key in query string

Scopes: companies:write