Docs Rizler

Dispositions

Update Disposition

PUThttps://app.rizzdial.com/api/disposition/{id}
Update Disposition
curl --request PUT \
  --url https://app.rizzdial.com/api/disposition/MQ== \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "Active",
  "call_status": "Answered",
  "disposition": "Appointment Set"
}'
{
  "data": {
    "id": "MQ==",
    "status": "Active",
    "disposition": "Appointment Set"
  },
  "message": "Disposition updated successfully.",
  "success": true
}

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.rizzdial.com/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