豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 994 Bytes

File metadata and controls

32 lines (22 loc) · 994 Bytes

Authentication

Overview

The API uses API Keys to authenticate requests. You must include your API Key in the Authorization header of every HTTP request.

Obtaining an API Key

Currently, API Keys are not generated via a self-service portal. To obtain your production credentials:

Contact your dedicated account manager.

Or, reach out to our support team directly.

Once issued, please store your API Key defined as a secret in your environment. Do not share your API Key or commit it to public repositories.

How to Authenticate

To authenticate, add the Authorization header to your request with the Bearer scheme, followed by your API Key.

Header Format:

Authorization: Bearer <YOUR_API_KEY>

Example Request

Here is an example of how to structure a curl request using the authentication header:

Copy as cURL
curl -X GET https://app.lightlabs.com/api/tests \
  -H "Authorization: Bearer <YOUR_API_TOKEN>" \
  -H "Content-Type: application/json"