Cloud Phone Integration FAQ

Updated at:

This topic lists frequently asked questions (FAQs) about integrating Cloud Phone management API operations.

Index

How do I enable authorization-free logon for Cloud Phone?

To enable authorization-free logon, submit a ticket and provide your Alibaba Cloud account UID.

Who are the callers for the Cloud Phone authentication API operations?

The callers of the Cloud Phone authentication API operations are as follows:

Is there a runnable Java backend demo?

We provide a simple server-side demo for your reference.

Download: demo1_authcode.zip

Instructions:

  1. In the application.properties configuration file, replace service.sdk.accessKeyId with your Alibaba Cloud account AccessKey ID, replace service.sdk.accessSecret with your Alibaba Cloud account AccessKey secret, and replace service.deploy.region with the region where your server-side code is deployed.

    spring.application.name=demo1
    
    logging.config=classpath:log4j2-file.xml
    
    service.sdk.accessKeyId=<YourAccessKeyId>
    service.sdk.accessSecret=<YourAccessKeySecret>
    
    # service.deploy.region
    service.deploy.region=<YourRegion>
    
    sdk.appstream.center.endpoint=appstream-center.aliyuncs.com
  2. Run the main function to start the server locally.

  3. Test the server locally using the curl command.

    Replace <EndUserId> with the username of the convenience account.

    curl -X POST http://localhost:8080/auth -H "Content-Type: application/json" -d '{"userId":"<EndUserId>", "requestId":12345678}'