CreateTicket

更新时间: 2026-06-24 17:54:16

Creates a ticket.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /tickets HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

expirationTime

integer

No

  • The expiration time in seconds for the embedded page URL. The value must be an integer from 0 to 2,592,000 (30 days). The default value is 86,400 (one day).

86400

accessTokenExpirationTime

integer

No

  • The expiration time in seconds for the access token. This parameter specifies how long a user can access the page's API. The value must be an integer from 0 to 86,400 (one day). The default value is 86,400.

  • The effective expiration time of the access token is the minimum of accessTokenExpirationTime and expirationTime.

  • If the API is called using a Security Token Service (STS) token, the effective expiration time of the access token is the minimum of accessTokenExpirationTime, expirationTime, and the STS token's expiration time.

600

Response elements

Element

Type

Description

Example

object

The response body.

ticket

string

The login-free ticket.

eyJ***************.eyJ******************.KUT****************

Examples

Success response

JSON format

{
  "ticket": "eyJ***************.eyJ******************.KUT****************\n"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.

上一篇: Console embedding 下一篇: Data structure