Skip to main content
POST
Create session

Authorizations

Authorization
string
header
required

A workspace API key beginning with gengen_live_.

Body

application/json
name
string
required

GENGEN-local asset group name.

Minimum string length: 1
callback_url
string<uri>
required

Public URL opened after verification finishes.

description
string

GENGEN-local asset group description.

Maximum string length: 300

Response

A short-lived H5 verification session.

BytedToken
string
required

Short-lived token used to retrieve the created asset group.

Single-use H5 verification link. Append lng with zh, en, or zh-Hant to select the interface language.

CallbackURL
string<uri>
required

Destination URL opened after verification. A resultCode of 10000 indicates success; other callback fields include bytedToken, algorithmBaseRespCode, reqMeasureInfoValue, and verify_type.