get https://api.fonestorm.com/v2/digitqueries
Get a list of all digitqueries.
This will return a listing of all the digitqueries belonging to the FracTEL account associated with the API token being used.
Sample Response
{
"digitqueries": [
{
"id": "452ced9c764024",
"label": "452ced9c764024",
"soundfile": "SF123456789",
"maxdigits": 1,
"mindigits": 1,
"retries": 3,
"timeout": 10,
"invalid_prompt": true,
"callback_settings": {
"url": null,
"url_method": null,
"url_username": null,
"url_password": null
},
"match_pattern": "",
"match_destination": {
"destination_type": "Forward",
"destination": "3214991000"
},
"nomatch_destination": {
"destination_type": "Hangup",
"destination": ""
},
"default_destination": {
"destination_type": "Voicemail",
"destination": "V123456789"
},
"email_options": {
"email": "",
"subject": "",
"body": ""
},
"active": true
},
{
"id": "4b80fcc6601554",
"label": "4b80fcc6601554",
"soundfile": "tts:Enter 4 digit PIN number",
"maxdigits": 4,
"mindigits": 4,
"retries": 3,
"timeout": 10,
"invalid_prompt": true,
"callback_settings": {
"url": "https://example.com/a",
"url_method": "GET",
"url_username": null,
"url_password": null
},
"match_pattern": "",
"match_destination": {
"destination_type": "Forward",
"destination": "3214991000"
},
"nomatch_destination": {
"destination_type": "Announcement",
"destination": "AN1020304050"
},
"default_destination": {
"destination_type": "Hangup",
"destination": ""
},
"email_options": {
"email": "[email protected]",
"subject": "DigitQuery",
"body": "Email DigitQuery"
},
"active": true
}
]
}
Response Properties
Property | Type | Description |
---|---|---|
DigitQueries | array | Array of DigitQuery |