Docs menu
Get started
API reference
Classification
Landed cost
Products
Compliance
Reference
Origin
API reference
Who am I
GET https://api.border.bot/v1/me
Requires an API key (Authorization: Bearer bb_live_…).
The workspace and API key behind this request, with the current credit balance.
Any API key may call this.
Responses#
200: The calling workspace. (MeResponse)401: Missing, invalid, revoked or expired API key (unauthorized). (Error)429: Rate limited (rate_limited). Retry afterRetry-Afterseconds;RateLimitsays which limit was hit (r=0,tseconds until its window ends) andRateLimit-Policyits quota. (Error)500: Unexpected error (internal). (Error)
Example#
curl -X GET 'https://api.border.bot/v1/me' \
-H 'Authorization: Bearer bb_live_...'