Documentation Index
Fetch the complete documentation index at: https://docs.openlight.tech/llms.txt
Use this file to discover all available pages before exploring further.
建议先从只读请求开始,确认 Token 有效,并且账号可以访问预期的角色接口。
export OPENLIGHT_API_TOKEN="your_api_token"
curl https://app.openlight.tech/api/creator/v1/brands \
-H "Authorization: Bearer $OPENLIGHT_API_TOKEN" \
-H "Accept: application/json"
成功响应会直接返回资源。列表接口在还有更多结果时会包含分页信息。
接下来,请选择与你的集成匹配的 API 分组:
- 创作者 API:用于创作者工作流。
- 卖家 API:用于卖家和运营账号工作流。
不要把 Token 放在客户端代码中。浏览器端集成应通过你的后端转发请求,这样 Token 才能保持私密。