List the operational contexts the token can act in
The first call an integration makes. Most other endpoints act in one operational context, and this list is where their operationalContextId comes from. It holds every context the roles granted to the Application reach. The token must belong to an organization.
/v1/operational-contextsAuthorizationOAuth2 access token · headerrequiredAn access token for an Application, from the client_credentials grant. An integration of your own uses the same grant. A connector from Hydda gets its token from the installation-token grant instead. Send it as Authorization: Bearer <token>.
typesstring | string[]Only return operational contexts of these types, for example organization or coworking. Repeat the parameter for several types.
cursorstringThe nextCursor of the previous page. Leave it out for the first page.
limitintegerThe most operational contexts to return, up to 100.
One page of operational contexts.
operationalContextsobject[]requiredThe operational contexts on this page.
Show propertiesHide properties
objectidstring<uuid>requiredThe operational context id. Other endpoints take it as operationalContextId.
namestringrequiredThe name the operator gave it.
typestringrequiredWhat kind of context it is: organization, a business context (coworking, residential or facility_management), a unit (office or apartment) or tenant. More types can be added.
nextCursorstringPass it as cursor to read the next page. Absent on the last page.
The request is not valid, or a business rule refused it. code names the rule.
typestringrequiredAlways about:blank.
titlestringrequiredThe HTTP status phrase, for example Not Found.
statusintegerrequiredThe HTTP status code.
detailstringWhat went wrong, for a person to read. Do not parse it.
codestringNames the rule that refused the request, when the failure has one. Match on this, not on detail.
VALIDATION_FAILEDparametersobjectValues the refusal names, keyed by what they are, for example occurrenceDate with BOOKING_SERIES_CONFLICT.
issuesobject[]With VALIDATION_FAILED: one entry per field that failed validation, each with its path and message.
The access token is missing, expired or not valid.
typestringrequiredAlways about:blank.
titlestringrequiredThe HTTP status phrase, for example Not Found.
statusintegerrequiredThe HTTP status code.
detailstringWhat went wrong, for a person to read. Do not parse it.
codestringNames the rule that refused the request. Match on this, not on detail.
parametersobjectValues the refusal names, keyed by what they are, for example occurrenceDate with BOOKING_SERIES_CONFLICT.
issuesobject[]With VALIDATION_FAILED: one entry per field that failed validation, each with its path and message.
The token does not allow this request.
typestringrequiredAlways about:blank.
titlestringrequiredThe HTTP status phrase, for example Not Found.
statusintegerrequiredThe HTTP status code.
detailstringWhat went wrong, for a person to read. Do not parse it.
codestringNames the rule that refused the request. Match on this, not on detail.
parametersobjectValues the refusal names, keyed by what they are, for example occurrenceDate with BOOKING_SERIES_CONFLICT.
issuesobject[]With VALIDATION_FAILED: one entry per field that failed validation, each with its path and message.