Get the workspace's industry selection and configured profiles
GET
/industry-profiles/current
const url = 'https://api.invogi.com/v1/industry-profiles/current';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/industry-profiles/current \ --header 'Authorization: Bearer <token>'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.
Responses
Section titled “Responses”Workspace profile setup
Media typeapplication/json
object
generic
required
object
key
required
string
version
required
string
name
required
string
summary
required
string
primaryIndustry
required
string | null
otherIndustryLabel
required
string | null
recommended
required
Array<string>
evaluatedProfiles
required
Profiles with specialised checks. Only these can run a preview.
Array<string>
assignments
required
Array<object>
object
id
string format: uuid
profileKey
required
string
profileVersion
required
string
status
required
string
configuration
required
object
enabledCapabilities
required
Array<string>
answers
required
object
key
additional properties
boolean
terminology
required
object
key
additional properties
string
configurationVersion
required
integer
activatedAt
required
string | null format: date-time
updatedAt
string format: date-time
unchanged
Present and true when an identical PUT created no revision.
boolean
Example
{ "generic": { "key": "generic-ap-controls" }, "primaryIndustry": "PROPERTY_MANAGEMENT", "assignments": [ { "status": "SHADOW" } ]}Missing or invalid API key
Media typeapplication/json