post https://api.fonestorm.com/v2/digitqueries
Add a new DigitQuery to an account.
Notes
label
label
Name/Label for the DigitQuery.
soundfile
soundfile
Sound File ID or Text to Speech string (prefixed with tts:
).
maxdigits
maxdigits
Maximum digits allowed to enter.
mindigits
mindigits
Minimum digits required to enter.
retries
retries
Maximum retries allowed.
timeout
timeout
Timeout in seconds, if no input pressed.
invalid_prompt
invalid_prompt
Invalid prompt to be played or not.
callback_settings
callback_settings
Callback settings:
url
- Callback URLmethod
- URL method GET, POST or JSONurl_username
- URL authentication usernameurl_password
- URL authentication password
match_pattern
match_pattern
Pattern to be matched to decide the destination.
match_destination
match_destination
- destination_type - Destination type if pattern matches.
- destination - Destination ID if pattern matches.
nomatch_destination
nomatch_destination
- destination_type - Destination type if pattern doesn't match.
- destination - Destination ID if pattern doesn't match.
default_destination
default_destination
- destination_type - Default destination type.
- destination - Default Destination ID.
email_options
email_options
- email - Email address
- subject - Email subject
- body - Email body
Response Properties
Property | Type | Description |
---|---|---|
DigitQuery | object | DigitQuery |