Permissions — FGA authorization checks and role introspection.
Every path is on https://app.concord.app.
GET/api/v1/permissions
Get the caller's organization role for one document
Returns ONLY the caller's organization-role name in the organization that owns the given agreement; the answer is the same for every agreement that org owns. It is worth asking per agreement only in all-organizations mode, where the owning org may be a subsidiary of your active organization and your role there may differ. This is NOT a per-agreement capability answer, and it carries no action list: for a computed per-document access level — from a direct grant, an inherited folder, or an org role — call getEffectivePermission (GET /v1/document-management/effective-permission).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | query | string |
Responses
| Status | Description |
|---|---|
200 | OK |
400 | Malformed request or invalid parameters for the operation, Request payload failed schema validation; BAD_REQUEST: Malformed request or invalid parameters for the operation; VALIDATION: Request payload failed schema validation |
401 | 401 — UNAUTHORIZED: Missing or invalid authentication credentials |
403 | 403 — FORBIDDEN: Authenticated but not authorized for this resource or operation |
404 | 404 — NOT_FOUND: The requested resource (or a resource referenced by the operation) was not found |
405 | 405 — METHOD_NOT_SUPPORTED: HTTP method not supported for this resource |
406 | 406 — NOT_ACCEPTABLE: Requested representation is not acceptable |
408 | 408 — TIMEOUT: Request timed out |
409 | 409 — CONFLICT: Resource state conflict — concurrent modification or duplicate |
412 | 412 — PRECONDITION_FAILED: Resource state does not allow the requested operation |
413 | 413 — PAYLOAD_TOO_LARGE: Request payload exceeds the allowed size |
415 | 415 — UNSUPPORTED_MEDIA_TYPE: Request media type is not supported |
422 | 422 — UNPROCESSABLE_CONTENT: Request semantically valid but unprocessable |
429 | 429 — TOO_MANY_REQUESTS: Rate limit or quota exceeded for the operation |
499 | 499 — CLIENT_CLOSED_REQUEST: Client closed the request before the server finished |
500 | 500 — INTERNAL_SERVER_ERROR: Unexpected server error while processing the operation |
501 | 501 — NOT_IMPLEMENTED: The requested operation is not implemented |
502 | 502 — BAD_GATEWAY: Invalid response from an upstream dependency |
503 | 503 — SERVICE_UNAVAILABLE: Service temporarily unavailable — may be retried after Retry-After |
504 | 504 — GATEWAY_TIMEOUT: Timed out waiting for an upstream dependency |