List API keys
Newest first, with cursor pagination: after takes the last id of a page and pages toward older items, before takes the first id and pages back toward newer ones. A key held to one domain lists only the keys held to that same domain.
GET
/api-keys授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
查询参数
limitintegerPage size, 1-100 (default 20)
最小值 1 · 最大值 100
afterstring<uuid>Cursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.
beforestring<uuid>Cursor: id of the first item of the current page; returns the previous page; same rule as after.
响应
200
API keys (never tokens)
objectstring必填允许值:
listdataobject[]必填显示属性隐藏属性
object 数组idstring<uuid>必填namestring必填created_atstring必填last_used_atstring | null必填inbox_idstring<uuid> | null必填BillionSend extension: the one inbox the key is restricted to, or null
has_moreboolean必填401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填422
Validation error
statusCodenumber必填namestring必填messagestring必填429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填