Step 6: Create voice notification content
POST {{apiPath}}/environments/{{envID}}/templates/general/contents
This POST /environments/{{envID}}/templates/general/contents
operation creates a customized voice message associated with the general
template.
Request Body
{"locale"=>"en", "variant"=>"variant_C", "content"=>" Your one-time password is ${otp}", "deliveryMethod"=>"Voice", "voice"=>"Woman"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |