Skip to main content

API, Permissions Matrix & MCP Reference

Use this reference to inspect every resource key, compact action code, REST API endpoint, structured error response, and MCP tool powering Verifik Staff RBAC and Sub-Teams.


Action Codes Legend​

Verifik evaluates permissions per (resource, action) tuple across 27 resources and 10 granular actions:

CodeAction KeyMeaning
RreadView dashboards, records, configurations, or logs
CcreateCreate new records, invitations, teams, presets, or runs
UupdateEdit existing records, templates, roles, or team policies
DdeleteDelete records, templates, teams, or revoke API keys
EexecuteTrigger live paid lookups, SmartScan, biometrics, or SmartBatch runs
AapproveApprove/reject KYC dossiers, KYB companies, alerts, or JIT access requests
XexportExport CSV/XLSX reports, generate/send/download PDFs, mint signed links
KmanageKeysMint/manage API keys, webhooks secrets, or workspace keys
LreadAllBypass Sub-Team read isolation (teamScopedVisibility) across the workspace
MmanageOwnTeamManage members, child sub-teams, budgets, and JIT requests inside owned/child teams (team_manager)

Complete 27-Resource × 8-Role Default Matrix​

Every column matches DEFAULT_MATRIX_CODES in Verifik's authorization engine:

GroupResource KeyAdminTeam ManagerComplianceDeveloperFinanceOperatorDoc BuilderViewer
HomehomeRURURRRRRR
SmartChecksmartCheckPlaygroundRCUDERCUDERERCUDE—RCE——
SmartChecksmartCheckListsRCUDERCUDERCERCUDE—RCUE—R
SmartChecksmartCheckHistoryRXRXRXRRXR—R
SmartReportssmartReportsTemplatesRCUDXRCUDXRXRCUDX—RRCUDXR
SmartReportssmartReportsBatchRCUDEXRCUDEXRCEXRCUDE—RCEXRCUDR
SmartReportssmartReportsResultsRXRXRXR—RX—R
SmartFleetsmartFleetAssetsRCUDEXRCUDERXRCUDE—RCUE—R
SmartFleetsmartFleetRulesRCUDAXRCUDARAXRCUD—RA—R
SmartEnrollsmartEnrollProjectsRCUDRCUDRRCUD—R—R
SmartEnrollsmartEnrollRecordsRUDAXRUAXRUAXRU—R—R
SmartEnrollsmartEnrollScanRCUDERCUDERERCUDE—RCE—R
SmartEnrollsmartEnrollBiometricsRCUDERCUDERRCUDE—RCE—R
SmartBusinesssmartBusinessProjectsRCUDERCUDERRCUDE—R—R
SmartBusinesssmartBusinessRecordsRUDAXRUAXRUAXR—R—R
HumanAuthnhumanAuthnRCUDERCUDERRCUDE—R—R
Smart AccesssmartAccessRCUDRCUDRRCUD—R—R
Smart LinksmartLinksRCUDERCUDERRCUDE—RCE—R
SmartMonitorsmartMonitorStatusRCUDRCUDRRCUD—R—R
SmartMonitorsmartMonitorWebhooksRCUDKRCUD—RCUDK————
SmartToolssmartToolsRCERCE—RCE—RCE——
Billing & PlansbillingCreditsRCUDX———RCUDX———
Billing & PlansbillingSubscriptionsRCUD———RCUD———
Billing & PlansbillingUsageRCUDXRXRRRCUDX——R
DevelopersapiKeysRCDK——RCK————
Workspace & TeamteamRCUDALMRCUDAM——————
Workspace & TeamworkspaceSettingsRUKRRRRRRR
Owner-only enforcement

workspaceSettings.delete is stripped on normalization and can never be held by any Staff role (admin included). Deleting a workspace setting requires a Workspace Owner token.


REST API Endpoints Quick Reference​

Base URL: https://api.verifik.co (identical /v2/... routes on https://ai.verifik.co with Bearer JWT).

Staff & Sessions​

MethodPathDescription
GET/v2/staff/me/permissionsInspect caller's effective matrix, teams, CECO policy, and request policy
GET/v2/staffList workspace staff (scoped for team_manager)
POST/v2/staffInvite staff member (role, customRole, team, additionalTeams)
POST/v2/staff/reinviteRe-send staff invitation email
GET/v2/staff/:idShow single staff member
PUT/v2/staff/:idUpdate role, team, additionalTeams, or customPermissions
POST/v2/staff/:id/revoke-sessionRotate staff JWTPhrase to invalidate all active tokens
DELETE/v2/staff/:id/grants/:grantIdImmediately revoke a staff temporary grant
DELETE/v2/staff/:idRemove staff member

Custom Roles & System Catalog​

MethodPathDescription
GET/v2/client-roles/resourcesList all 27 resource definitions and 10 actions
GET/v2/client-roles/catalogRetrieve resources, built-in role presets, and custom roles
GET/v2/client-rolesList tenant custom roles
POST/v2/client-rolesCreate custom role (permissions, endpointPolicy, allowAccessRequests)
POST/v2/client-roles/:id/duplicateClone any built-in preset or custom role
PUT/v2/client-roles/:idUpdate custom role
DELETE/v2/client-roles/:idDelete custom role (with optional reassignment)

Sub-Teams, Budgets, API Keys & Assignments​

MethodPathDescription
GET/v2/teamsList Sub-Teams (parentTeam, spend, member counts)
GET/v2/teams/:idShow Sub-Team details
POST/v2/teamsCreate Sub-Team (parentTeam, monthlyBudget, CECO locks, endpointPolicy)
PUT/v2/teams/:idUpdate Sub-Team settings, members, or hierarchy
POST/v2/teams/:id/boostAdd one-time or recurring monthly budget boost
POST/v2/teams/:id/api-keysMint a Sub-Team-scoped API key JWT ({ clientId, teamId })
POST/v2/teams/:id/assignBulk-assign resources or set visibility: "workspace" (team.readAll)
DELETE/v2/teams/:idDelete Sub-Team (reparents children, cleans additionalTeams)
MethodPathDescription
POST/v2/staff-access-requestsSubmit JIT request (resource_access, role_upgrade, budget_increase)
GET/v2/staff-access-requests/mineList caller's own submitted access requests
GET/v2/staff-access-requestsList workspace/team pending & historical requests
POST/v2/staff-access-requests/:id/approveApprove request and activate grant or budget boost
POST/v2/staff-access-requests/:id/rejectReject pending request
POST/v2/staff-access-requests/:id/cancelCancel own pending request
POST/v2/staff-access-requests/:id/revokeImmediately revoke an approved temporary grant
GET/v2/staff-audit-logsQuery/export immutable RBAC & team audit trail (json or csv)
PUT/v2/client-settings/:idConfigure staffAccessPolicy (teamScopedVisibility, requireTeamApiKeys)
GET / POST/v2/cost-centersList or create Cost Centers (CECOs)
GET/v2/usage/cost-center-statementMonthly per-CECO & Sub-Team usage statement (json, csv, xlsx)
POST/v2/smart-reports/:id/signed-linkMint short-lived HMAC-signed PDF download URL (max 86400s)
GET/v2/smart-reports/:id/downloadDownload PDF (HMAC sig + exp query params, or Bearer JWT)

Structured Error Reference​

HTTPError message / ReasonWhen It Occurs & How to Resolve
403insufficient_staff_permissionsCaller lacks (resource, action). Includes canRequestAccess boolean so UI/agents know whether POST /v2/staff-access-requests is allowed (false for report_builder).
403owner_onlyOperation requires Workspace Owner or SuperAdmin (for example deleting ClientSettings).
403cannot_escalate_permissionsStaff actor attempted to create/assign permissions above their own effective ceiling.
403team_out_of_scopeCross-team read, write, staff invite, or request approval outside the caller's team + additionalTeams + parentTeam subtree.
403team_api_key_requiredWorkspace has staffAccessPolicy.requireTeamApiKeys: true and caller used a plain client token instead of a Sub-Team API key.
403team_pausedTarget Sub-Team status is "paused". Resume the Sub-Team to re-enable executions.
403team_budget_exceededTeam monthly credit cap reached under "hard" enforcement. Payload includes boost metadata for requesting or applying POST /v2/teams/:id/boost.
403team_feature_budget_exceededPer-endpoint prefix cap (featureBudgets) reached for the target team.
400cost_center_not_allowed_for_teamRequested x-cost-center header is outside the Sub-Team's allowedCostCenters / defaultCostCenter when enforceCostCenter: true.

AI Agent & MCP Integration​

All Team, Role, Staff, Access Request, Audit Log, Cost Center, CECO Statement, and Signed Link operations are published as Bearer-authenticated MCP tools on https://ai.verifik.co/mcp so agents such as Claude, Cursor, Gemini, and Grok can automate multi-country provisioning safely.

Bearer JWT required on MCP

TeamRBAC MCP tools require your own Verifik Bearer JWT (VERIFIK_JWT) and are never exposed unauthenticated or over anonymous x402 billing routes.

{
"mcpServers": {
"verifik": {
"url": "https://ai.verifik.co/mcp",
"headers": {
"Authorization": "Bearer YOUR_VERIFIK_JWT"
}
}
}
}

Complete Catalog of 24 Team & RBAC MCP Tools​

CategoryMCP Tool NameHTTP MappingPurpose
Sub-Teamsteams_listGET /v2/teamsList Sub-Teams, monthly spend, and members
Sub-Teamsteams_createPOST /v2/teamsCreate Sub-Team (parentTeam, CECO lock, budget, policy)
Sub-Teamsteams_updatePUT /v2/teams/{id}Update Sub-Team hierarchy, budget, CECO lock, or members
Sub-Teamsteams_deleteDELETE /v2/teams/{id}Delete Sub-Team with optional reassignment
Sub-Teamsteams_assign_resourcesPOST /v2/teams/{id}/assignBulk-assign assets or set visibility: "workspace"
Sub-Teamsteams_create_api_keyPOST /v2/teams/{id}/api-keysMint a { clientId, teamId } Sub-Team API key JWT
Rolesroles_catalogGET /v2/client-roles/catalogFetch resources, 8 system presets, and custom roles
Rolesroles_createPOST /v2/client-rolesCreate a custom tenant role
Rolesroles_updatePUT /v2/client-roles/{id}Update an existing custom role
Rolesroles_duplicatePOST /v2/client-roles/{id}/duplicateClone a built-in preset or custom role
Rolesroles_deleteDELETE /v2/client-roles/{id}Delete a custom role
Staffstaff_listGET /v2/staffList workspace/team staff members
Staffstaff_invitePOST /v2/staffInvite staff with role, team, and additionalTeams
Staffstaff_updatePUT /v2/staff/{id}Update role, team, additionalTeams, or overrides
Staffstaff_my_permissionsGET /v2/staff/me/permissionsInspect caller's effective RBAC matrix and policy
Access Requestsaccess_requests_listGET /v2/staff-access-requestsList pending & historical JIT access requests
Access Requestsaccess_requests_approvePOST /v2/staff-access-requests/{id}/approveApprove request and activate grant or boost
Access Requestsaccess_requests_rejectPOST /v2/staff-access-requests/{id}/rejectReject a pending access request
Access Requestsaccess_requests_revokePOST /v2/staff-access-requests/{id}/revokeImmediately revoke an active temporary grant
Cost Centerscost_centers_listGET /v2/cost-centersList active CECO codes
Cost Centerscost_centers_createPOST /v2/cost-centersCreate a Cost Center code
Usageusage_cost_center_statementGET /v2/usage/cost-center-statementExport monthly CECO + Sub-Team statement (json/csv)
Auditstaff_audit_logs_listGET /v2/staff-audit-logsQuery team-scoped immutable RBAC audit events
SmartReportssmart_report_create_signed_linkPOST /v2/smart-reports/{id}/signed-linkMint short-lived HMAC-signed PDF link (max 24h)