tencent cloud

All product documents
Tencent Cloud AI Digital Human
Obtaining the Temporary Upload Token
Last updated: 2024-07-18 18:03:50
Obtaining the Temporary Upload Token
Last updated: 2024-07-18 18:03:50
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}/"
}
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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 available.

7x24 Phone Support