Skip to main content
GET
cURL
使用此端點可依 ID 取得一筆 API 金鑰記錄。
請先在 Console → Personal Settings 產生個人存取 Token,然後將其作為原始 Authorization header 值傳送。不要加上 Bearer 前綴。
id 路徑參數是由 列出 API 金鑰 回傳的數字金鑰 ID。

API 金鑰狀態

回傳欄位

授權

Authorization
string
header
必填

Personal access token copied from CometAPI Console > Personal Settings. Send the raw token value; do not prefix it with Bearer.

路徑參數

id
integer
必填

Numeric API key ID returned by the list endpoint.

回應

200 - application/json

API key record.

success
boolean
必填
message
string
必填
data
object
必填