SDKs

Use any HTTP client — the API is plain JSON over HTTPS.

Install

We don’t require a specific SDK. These are common, lightweight defaults:

Install

# cURL is most likely already installed on your machine
curl --version

Example request

If you don’t have a dedicated API client, start with a single endpoint and build from there. This example calls GET /v1/me/.

Request

GET
/v1/me/
curl -s https://api.twentybaan.com/v1/me/ \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Recommended defaults

  • Send Accept: application/json on every request.
  • Set a timeout (for example 30s) and handle network retries with jitter.
  • Respect 429 rate limits: back off, then retry.
  • Log request ids and timestamps around webhook flows for easy debugging.
tb twentybaan

Sign in to your account

Not a member? Create an account

Or continue with email

Uncheck on shared devices.