get https://api.motioncxapps.com/b2c/v1/user/mcx-permissions
no auth? recommend not publishing
- This gives all the information about the current user's permissions.
- Authentication required, please visit this page for Authentication How To.
Parameters
- TenantID - How your specific customer instance is identified, this will be a number. Find this in the app Help (?) icon > MotionCX Voice > Tenant:
- Email - All users must have an email as their username.
- It is recommended advanced filter object be done outside of the API document for best results.
Responses available:
- 200
- 401
- 403
Example return:
{
"expireDate": "2023-09-07T04:01:00",
"uuid": "f4e680c0-e0a4-4399-9a91-9b7b9ed17f4d",
"email": "[email protected]",
"isSuperUser": false,
"tenants": [
{
"uuid": "f4e680c0-e0a4-4399-9a91-9b7b9ed17f4d",
"userId": 13727,
"tenantId": 2,
"tenantName": "ContactCenter",
"tenancyName": "ContactCenter",
"firstName": "Ann",
"lastName": "Agent",
"phoneNumber": "867-5309",
"tenantGuid": "3a0cc40e-b095-4642-ab23-5e3ed4be1b02",
"roles": [
102,
129
],
"groups": [],
"queues": [
2051,
2073,
2074,
2080,
2086,
2087,
2088,
2089,
2090,
2091,
2092,
2093,
2094
],
"isAdmin": true
}
],
"currentTenant": {
"uuid": "f4e680c0-e0a4-4399-9a91-9b7b9ed17f4d",
"userId": 13727,
"tenantId": 2,
"tenantName": "ContactCenter",
"tenancyName": "ContactCenter",
"firstName": "Ann",
"lastName": "Agent",
"phoneNumber": "867-5309",
"tenantGuid": "3a0cc40e-b095-4642-ab23-5e3ed4be1b02",
"roles": [
102,
129
],
"groups": [],
"queues": [
2051,
2073,
2074,
2080,
2086,
2087,
2088,
2089,
2090,
2091,
2092,
2093,
2094
],
"isAdmin": true
},
"isExpired": false,
"info": "Authorization accepted",
"userName": "[email protected]",
"currentTenantId": 2,
"mcxPermissionType": 1
}