Enhance documentation
organisation.invites.preview
Inspect a team invitation before accepting it.
organisation.invites.preview
query read
Use when current organisation state is needed before deciding or changing anything.
Before calling
- Authenticate as the accountable Enhance person.
- Use only resource identifiers returned by an earlier capability result or supplied by the person.
Input
Show complete JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"token": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
},
"required": [
"token"
],
"additionalProperties": false
}
Example
Show example input
{
"token": "x"
}
Result
Returns a typed organisation.invites.preview result from the Enhance API without transport-specific prose.
Recovery
- BAD_REQUEST: correct the named fields and call again.
- UNAUTHORIZED: restore Enhance authentication, then retry once.
- FORBIDDEN or NOT_FOUND: list accessible resources and choose an allowed identifier.
- CONFLICT: read the current resource, merge the intended change, and retry with its version.
- INTERNAL: run Enhance diagnostics, report the failure, and stop repeating the call.
Continue with
- Use the returned identifiers and version in the next organisation operation.
Compatibility: d2f85c002dcc73089c967d26b9d211e3555dfbce892ad7721c5c5a85c30078c0.