Total Access Docs
Openapi

Get user role and Smart Task access

Returns the authenticated user's role, Smart Task access flags, and template assignments.

GET
/api/v1/operations/user-role

Returns the authenticated user's role, Smart Task access flags, and template assignments.

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for REST API endpoints (user-facing apps).

Authorization: Bearer <jwt_access_token>

Tokens expire after 15 minutes. Use the refresh token to obtain a new one.

In: header

Response Body

application/json

curl -X GET "https://example.com/api/v1/operations/user-role"
{  "success": true,  "has_smart_task_access": true,  "has_team_smart_task_enabled": true,  "smart_task_template_key": "string",  "smart_task_template_keys": [    "string"  ]}