Companies
Set company types
PUT
Replaces the record's types with types; an empty list clears them. Each entry is a prefixed type ID as the record's types attribute returns (company_type:<sqid>) or a type's string_id. Active types come from GET /v4/records/{plural_slug}/types. At most 50. Requires companies:write.
Body
application/json
typesarrayrequiredType IDs or string_ids, such as ["company_type:Ab12", "candidate"]
Parameters
idstringrequiredpathCompany ID
Response
Types set
400Bad RequestErrorResponse
Invalid id or body
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Company not found
422Unprocessable EntityErrorResponse
Unknown, archived or wrong-kind type, or more than 50
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: companies:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: companies:write
apikey_ authapiKey in queryAPI key in query string
Scopes: companies:write
