cURL - Get travel credential
Scope
- Only the primary API Key is supported; temporary API Keys cannot be used (error code
403003). - The World must belong to the current primary account and the Directing model, and its status must be
ready. - This endpoint does not create a Travel; the Travel is created when entering the room succeeds.
Authorizations
string
header
required
QwenCloud API Key. Only the primary API Key (sk- prefix) is supported. See Get an API Key.
Header Parameters
string
default"application/json"
required
Request content type. This parameter must be set to application/json.
string
required
API Key authentication. Only the primary API Key is supported; it starts with sk-, e.g. sk-xxx. It is typically configured as the environment variable $DASHSCOPE_API_KEY. A temporary API Key (starting with st-) returns 403003.
Body
application/jsonstring
required
A Directing World ID under the current primary account with status ready.