Set or clear the workspace's primary industry (OWNER only)
PATCH
/organizations/current/industry
const url = 'https://api.invogi.com/v1/organizations/current/industry';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"primary_industry":"PROPERTY_MANAGEMENT","other_industry_label":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”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.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
primary_industry
required
string | null
other_industry_label
string | null
Responses
Section titled “Responses”Industry saved and audit event recorded
Invalid request
Media typeapplication/json
Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json