Skip to content

Set or clear the workspace's primary industry (OWNER only)

PATCH
/organizations/current/industry
curl --request PATCH \
--url https://api.invogi.com/v1/organizations/current/industry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "primary_industry": "PROPERTY_MANAGEMENT", "other_industry_label": "example" }'

Classifies the workspace for setup recommendations. It never disables the generic AP controls, changes billing, or determines jurisdiction. Send null to leave the industry unselected. OTHER is an explicit generic choice and requires other_industry_label.

X-Invogi-Organization
string format: uuid

For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.

Media typeapplication/json
object
primary_industry
required
string | null
Allowed values: PROPERTY_MANAGEMENT CONSTRUCTION LOGISTICS HOSPITALITY EDUCATION MANUFACTURING RETAIL OTHER
other_industry_label
string | null
<= 120 characters

Industry saved and audit event recorded

Media typeapplication/json
object
primaryIndustry
required
Any of:
null
otherIndustryLabel
required
null | string

Example

{
"primaryIndustry": "PROPERTY_MANAGEMENT"
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}