Test Compliance Decision#
Check whether this agent would be allowed to call a sample contact under its compliance settings (legal calling hours by state, area code or phone number). Nothing is called. Send only the fields you want to test; the rest use the agent's defaults.
Authorizationstringheaderrequired
Bearer token in the format: Bearer {access_token}
agent_idstringpathrequired
Public agent id from List Agents
directionstringbody
One of: outbound, inbound. Optional; defaults to outbound.
statestringbody
2-letter US state code to test, for example CA. Optional.
area_codestringbody
Area code to test, for example 480. Optional.
phone_nostringbody
Phone number to test. Optional.
nowstringbody
Date and time to test, for example 2026-10-16T21:30:00-05:00. Optional; defaults to now.
curl --request POST \
--url https://app.rizzdial.com/api/ai/agent/v2/manage/compliance/test/agent_123 \
--header 'Authorization: Bearer {{bearer_token}}' \
--header 'Content-Type: application/json' \
--data '{"direction":"outbound","state":"value","area_code":"value","phone_no":"value","now":"value"}'successboolean
true when the call succeeds. Some list responses use status: success instead
dataobject
The saved record, or the list of records