Skip to main content
POST
/
v1
/
Accounts
/
{account_sid}
/
SpeechCredentials
Create SpeechCredential
curl --request POST \
  --url https://api.example.com/v1/Accounts/{account_sid}/SpeechCredentials \
  --header 'Content-Type: application/json' \
  --data '
{
  "access_key_id": "AKIXXXXXXXXXXXXX",
  "secret_access_key": "****************************",
  "use_for_stt": true,
  "use_for_tts": true,
  "vendor": "aws"
}
'
{
  "sid": "49d36fb5-ac01-4e7a-ad8a-824033381afd"
}

Path Parameters

account_sid
string
required
Example:

"5f8e8f60-4771-44cb-92a6-94ea66df0450"

Body

application/json
access_key_id
string
Example:

"AKIXXXXXXXXXXXXX"

secret_access_key
string
Example:

"****************************"

use_for_stt
boolean
Example:

true

use_for_tts
boolean
Example:

true

vendor
string
Example:

"aws"

Response

201 - application/json

Create SpeechCredential

sid
string
Example:

"49d36fb5-ac01-4e7a-ad8a-824033381afd"