Docs / API reference

Get your account

GET /v1/me: the account an API key belongs to: its name, role, and email. A quick way to check a key works.

GET /v1/me

Needs an API key: Authorization: Bearer <key>. See Authentication.

Who you are to the API. Keys are made and revoked in the web app, under Account.

Example

curl "https://tablearchive.dev/v1/me" \
  -H "Authorization: Bearer $TA_KEY"

Response

{ "id": "…", "name": "my-app", "email": null, "role": "user", "notify_reviews": false, "notify_signups": false }

Errors

StatusWhen
401No API key, or one that is not valid
429Rate limited; wait for Retry-After seconds

Every error is JSON with an error message. See Rate limits and errors.