渠道管理/授权
开始平台授权
接口说明:生成平台 OAuth 授权 URL
GET
开始平台授权
授权
AiToEarn Open Platform API Key。
路径参数
查询参数
授权完成后浏览器 POST relay 的回调地址
授权完成后浏览器跳转地址
账号组 ID,不传则使用默认组
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:生成平台 OAuth 授权 URL
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/accounts/auth/{platform} \
--header 'X-Api-Key: <api-key>'{
"code": 0,
"message": "请求成功",
"data": {
"url": "string",
"sessionId": "string",
"expiresAt": "2026-07-02T12:00:00.000Z",
"authInstructions": {
"en-US": "string",
"zh-CN": "string"
}
}
}AiToEarn Open Platform API Key。
授权完成后浏览器 POST relay 的回调地址
授权完成后浏览器跳转地址
账号组 ID,不传则使用默认组
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
请求 ID。
错误响应时间戳,Unix 毫秒。
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/accounts/auth/{platform} \
--header 'X-Api-Key: <api-key>'{
"code": 0,
"message": "请求成功",
"data": {
"url": "string",
"sessionId": "string",
"expiresAt": "2026-07-02T12:00:00.000Z",
"authInstructions": {
"en-US": "string",
"zh-CN": "string"
}
}
}