English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Voice Message Subscription and Template

Last Updated on : 2021-08-23 06:56:15download

Tuya Voice Message Service initiates calls to designated numbers through the global operator network by calling cloud APIs, and plays text-converted audio files to provide different services such as alarms and notifications. Users can flexibly purchase services of different magnitudes according to usage. The service is billed according to the actual number of successful calls, and the system will return the quota of unsuccessful calls.

Subscription

Subscribe to the voice message service on the Tuya Cloud Development Platform.

Procedure

  1. Log in to the Tuya IoT Platform.

  2. Click Cloud in the left-side navigation bar.

  3. Go to Projects > API Products page and click All Products.

  4. On the All Products page, find Voice Message Service, click and enter the voice message service page.
    Voice Message Subscription and Template

  5. Click Subscribe.
    Voice Message Subscription and Template

  6. Select Trial Version on the value-added service (VAS) page, choose whether you need an invoice, and click Buy now.
    Voice Message Subscription and Template

Template configuration

  1. After you subscribe to the API product, please authorize the API to the specified project and allow the project to call this service. For the authorization process, see Authorize project to call APIs.

  2. You can refer to Add a voice template and call the API to configure the voice message template. Also, you can use the API debugging assistant of the Cloud Development Platform to quickly configure the voice message template. On the voice message service product page, select API List > Add a voice template > Debug.
    Voice Message Subscription and Template

  3. On the API debugging page, select Add a voice template on the far left of the page.
    Voice Message Subscription and Template

    Note: On the current debugging page, confirm that the API projects, services, and data centers are correct.

  4. Enter the corresponding content, and initiate a call.

  5. After the call, the returned content will contain the template ID, indicating that the voice template content has been submitted for review. Tuya will review the content of the template to ensure legality, and complete the review within two working days. You can query the review status through the Query the details of the voice template interface.