Skip to main content
GET
Get Authorization Status

Authorizations

X-Api-Key
string
header
required

Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".

Path Parameters

platform
enum<string>
required

Authorization platform. It must match the platform used to start authorization. Supported values: douyin, xhs, wxSph, KWAI, wxGzh, and bilibili.

Available options:
douyin,
xhs,
wxSph,
KWAI,
wxGzh,
bilibili
Example:

"douyin"

sessionId
string
required

The data.sessionId from the successful Start Platform Authorization response.

Example:

"session-id-from-auth-start"

Response

200 - application/json

The request has been processed by the service. Business success is determined by whether the response body has code === 0.

code
integer
required

Business status code. 0 means success; non-zero means a business error.

message
string
required

Response message.

data
object
requestId
string

Request ID.

timestamp
integer

Error response timestamp in Unix milliseconds.

Last modified on July 31, 2026