Callbacks
Let an agent schedule a call back when the caller asks, and manage scheduled callbacks.
With the callback tool, an agent on a phone call can schedule a call back when the person asks ("call me after 6"), with the time, timezone and reason. VoiceMint places the call at that time with the same agent, inside your calling window, and sends the call.callback_scheduled webhook.
Enable it#
Add {"type": "callback", "name": "schedule_callback", "config": {}} to the agent's tools (see Tools).
Manage callbacks#
curl "https://api.voicemint.io/api/v1/agents/callbacks" \
-H "Authorization: Bearer $VOICEMINT_API_KEY"
curl -X POST https://api.voicemint.io/api/v1/agents/callbacks/CALLBACK_ID/cancel \
-H "Authorization: Bearer $VOICEMINT_API_KEY"GET / PATCH /agents/callbacks/settings hold the account's switch for callbacks, the per-contact daily cap and the calling window callbacks must fall in.