---
updatedAt: 2025-09-25T19:46:04.000Z
agentTools:
  projectIndex: https://finexio.readme.io/llms.txt
---

# Basic Authentication

Finexio API uses [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) with every API call to authenticate the user and use of the API.  With Basic Authentication, you send a request header with the key of “Authorization” and a properly formatted value string.

The properly formatted value is of the format “Basic “ plus the Base 64 encoded value of your username and password separated by a colon. If your username is “test” and your password is “password”, then you would Base 64 encode “test:password” to obtain “dGVzdDpwYXNzd29yZA” and the properly formatted value would be “Basic dGVzdDpwYXNzd29yZA”.

**All API requests must be made over HTTPS. Calls made over plain HTTP will fail.**

API requests without authentication will also fail. Unsuccessful authentication requests will result in 403 Forbidden with a response body of:

```json
{
    "detail": "Invalid username/password."
}
```

Look [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization) for a complete description of the Authorization Request header.