POST
/v1/admin/ivrs
Create IVR
curl -X POST https://api.{cluster}.{platform}.voiger.io/v1/admin/ivrs \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ivr": { "name": "language-selection", "status": "active", "content": { "id": "ff3bfada-11b2-464e-adaf-ce645ccc917c" } } }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
Response
ivr▾idnamestatusversioncreated_atupdated_atcontent▾id