Authentication summary
EasyAPI authenticates API requests with a bearer token. Send Authorization: Bearer YOUR_API_KEY on every request; a missing, invalid, or disabled key causes authentication to fail.
Key facts
- Every API request should include the Authorization header.
- Disable or rotate a key immediately if it is exposed.
- Use separate tokens for different applications or environments to limit access and track usage.
API authentication FAQ
- How do I format the EasyAPI Authorization header?
- Use Authorization: Bearer YOUR_API_KEY and replace YOUR_API_KEY with an active token created in the console.
- Why does an EasyAPI request return 401?
- Typical causes are a missing token, an invalid or disabled token, or an incorrectly formatted Bearer header.
认证方式
使用 Bearer Token 对 EasyAPI 请求进行身份验证。