tencent cloud

$0 14-Day TrialExperience EdgeOne for acceleration and security protection!

Feedback

Tencent Cloud AI Digital Human

Obtaining the Temporary Upload Token

Last updated: 2024-07-18 17:52:18
Before calling the Customized API, upload the material files to the specified cloud storage. First, obtain the temporary upload token and the specified upload path through this API, then upload the corresponding files to the cloud storage using the Upload Materials to Tencent Cloud COS API.

Calling Protocol

HTTPS + JSON
POST /v2/ivh/assetmanager/customservice/getuploadcredentials
Header Content-Type: application/json;charset=utf-8


Request Parameters

No

Response Parameter

Parameters
Type
Mandatory
Description
Credentials
object
Yes
Temporary Credential Information
Credentials.Token
string
Yes
Temporary Credential Token
Credentials.TmpSecretId
string
Yes
Temporary Certificate Key ID
Credentials.TmpSecretKey
object
Yes
Temporary Certificate Key
ExpiredTime
int
Yes
The validity period of the temporary certificate, returned as a Unix timestamp in seconds.
PathPrefix
string
Yes
Prefix for the upload path on COS

Response Sample

{
"Header": {
"Code": 0,
"DialogID": "",
"Message": "",
"RequestID": "123"
},
"Payload": {
"Credentials": {
"Token": "XXX",
"TmpSecretId": "XXX",
"TmpSecretKey": "XXX"
},
"ExpiredTime": 1547696355,
"PathPrefix": "domain name/customer-pipeline/{digit}/{uuid}/"
}
}


Catalog

In The Article

Obtaining the Temporary Upload Token

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon