List Disposition Roles#
Returns the roles that can see this disposition in the dialer. Each item has a base64 id and a title.
Authorizationstringheaderrequired
Bearer token in the format: Bearer {access_token}
idstringpathrequired
Base64 disposition id from List Dispositions
curl --location 'https://app.rizzdial.com/api/disposition/MQ==/roles' \
--header 'Authorization: Bearer {{bearer_token}}'dataarray
Assigned roles. Each item has base64 id and title
Replace Disposition Roles#
PUT or POST /api/disposition/{id}/roles replaces the full role list. Send role_view: [] to clear it. Role ids come from Disposition Helpers.
curl --location --request PUT 'https://app.rizzdial.com/api/disposition/MQ==/roles' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{bearer_token}}' \
--data '{
"role_view": ["MQ==", "Mg=="]
}'data.role_viewarray
The base64 role ids now assigned to this disposition