Docs Home

Using Basic Authentication

1 min read
Last updated on Jun 13, 2023

The Bonsai API supports HTTP Basic Authentication over TLS >= 1.2 as one means for authenticating requests.

Alpha Stage

The Bonsai API supports HTTP Basic Authentication over TLS >= 1.2 as one means for authenticating requests. The authentication protocol utilizes an Authorization header, with the contents: Basic .

Many tools, such as curl will construct this header automatically from credentials in a URL. For example, curl will translate https://user:pass@api.bonsai.io/ in to https://api.bonsai.io/ with the header Authorization: Basic dXNlcjpwYXNz.

For Basic Auth, the token key corresponds to the "user" parameter and the token secret corresponds to the "password" parameter.

Ready to take a closer look at Bonsai?

Find out if Bonsai is a good fit for you in just 15 minutes.

Schedule a consultation
Calming Bonsai waves