Create a new Greeting from Upload (JSON + Base64 File)

Note: # and anything after is NOT needed, its just to allow multiple examples for the same path/method.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≤ 64
Defaults to ~

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

string
required
length between 0 and 16
Defaults to ~

This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.

Body Params
string
enum
required
Defaults to no

When synchronous is requested with "yes" the response will be a 200 on success and will contain a valid JSON representiation of the new resource. If no or left off request a 202 "Accepted" will be given in a success case and this can be considered a success. Synchronous responses will be a little slower as the API will process the geo replication request and wait till the local copy has been written and can be read back berfore sending a response.

Allowed:
integer

The index of the file, Example "2" for greeting 2. In create (POST) requests index cab be omitted and the API will select a new index automatically.

string
required

This is a simple explanation of what the audio is and can include what is said in the audio file for explanation.

string
enum
Defaults to no

Setting yes will allow the API to attempt to convert the file from accepted formats into the correct format for media playback

Allowed:
string

Used when providing base64 encoded data to give the content tupe of the file.

string

This is a base64 encoded string formated without line breaks or spaces.

string
Defaults to en-US

This is the language that can be requested when using TTS feature. Leave of to have API lookup configs from the defaults or domain specific configs.

string
Defaults to en-US-Wavenet-C

This value will allow you to select the voice to be used for TTS applications. Value must be valid or will cause errors. leave off request to have the API lookup defaults from system and/or domain.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json