Make an API Request

Learn how to make your first BlueNexus API request

Getting Setup

In order to make your first API request, you will first need to:

  1. Obtain a Personal Access Token (so you can make authenticated API requests)

Make your first API Request

We will make the simplest request possible, fetch your account details using the /accounts/me endpoint.

Authentication

All API requests must specify an authorization header in the format:

Authorization: Bearer <access token>

Where <access token> is your personal access token (obtained above).

When you build your first application, you will obtain an access token that allows you to act on behalf of your connected users.

Make an API Request

There are several ways you can make your first API request.

Example 1: Swagger

The quickest and easiest is to use our Swagger documentation to make an API request within your browser.

Example 2: Command line (curl)

You can make an API request using curl on your command line:

Example 3: Typescript code

Learn More

Last updated