Update Disposition#
Updates a disposition. Send the same JSON body as Create Disposition. disposition is required. Omitted optional fields keep their current values. Include role_view to replace the role list. Omit role_view to leave roles unchanged.
Authorizationstringheaderrequired
Bearer token in the format: Bearer {access_token}
Content-Typestringheaderrequired
Must be set to application/json
idstringpathrequired
Base64 disposition id from List Dispositions
dispositionstringbodyrequired
Disposition name, unique in the company
curl --location --request PUT 'https://app.aisync.link/api/disposition/MQ==' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{bearer_token}}' \
--data '{
"disposition": "Appointment Set",
"status": "Active",
"default_option": "Active",
"call_status": "Answered",
"text_color": "#FFFFFF",
"bg_color": "#0000FF"
}'successboolean
true when the disposition was updated
messagestring
Disposition updated successfully.
dataobject
The updated disposition, including role_view