Step 7: Update voice notification content
PUT {{apiPath}}/environments/{{envID}}/templates/general/contents/{{voiceContentID}}
The PUT /environments/{{envID}}/templates/general/contents/{{voiceContentID}}
operation updates the voice notification content that you created in step 6.
Request Body
{"locale"=>"en", "content"=>"${user.username}, your one time password is ${otp}.", "deliveryMethod"=>"Voice", "voice"=>"Male"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |