Trigger auto voice call for an order
POST
/shops/{SHOP_ID}/orders/{ORDER_ID}/trigger_callTrigger an automated outbound call (Auto Voice) to the order's customer phone number and play the selected voice. Returns a background job id; the call outcome is delivered asynchronously. The SIP subscription must have the Auto Voice add-on enabled.
Path parameters
SHOP_IDintegerrequiredShop ID
ORDER_IDstringrequiredOrder ID
Request body
Request body containing the voice id to play
object
voice_idstring · uuidrequiredVoice id (copied from the voice management screen)
Responses
object
successbooleanSuccess status
Request
curl -X POST "https://pos.pages.fm/api/v1/shops/{SHOP_ID}/orders/{ORDER_ID}/trigger_call?api_key=API_KEY" \
-H "Content-Type: application/json" \
-d '{
"voice_id": "3f7c2b9a-1e4d-4a2b-9c8e-2b1d0a9f6e5c"
}'Response 200
{
"success": true
}