Read identity¶
POST /plugin-runtime/{installationId}/config
identity:read · https://elo-api-prod.quaggamock.com/plugin-runtime/INSTALLATION_ID/config
Identity of the installing user, subject to explicit permission.
Actual contract
Operations share the endpoint above and are selected by the operation body field. Each name is not a separate REST route.
Authentication¶
Authorization: Bearer <PLUGIN_GRANT> · Content-Type: application/json
Five-minute host-issued grant for this installation. Permission identity:read must be declared in the approved manifest and authorized.
A meeting grant only allows its bound meeting; a configuration grant cannot read meetings.
Path parameters¶
| Field | Type | Description |
|---|---|---|
installationId |
string | User installation ID, not the submission/manifest ID. |
Request body¶
| Field | Type | Description |
|---|---|---|
operation |
string | identity:read |
{
"operation": "identity:read"
}
Responses¶
200 · OK¶
{
"user": {
"id": "user-demo",
"name": "Alice",
"email": "[email protected]"
}
}
400 · Invalid input
{"code": "invalid_input", "message": "Revise os dados enviados.", "issues": []}
401 · Expired or invalid token
{"code": "plugin_token", "message": "A sessão do plugin expirou."}
403 · Permission or meeting scope denied
{"code": "plugin_scope", "message": "O plugin não recebeu esta permissão."}
404 · Installation or meeting not found
{"code": "plugin_missing", "message": "Plugin não encontrado ou desativado."}