Skip to content

Quickstart

Issue an API token and make your first request to the BoxHero API.

This guide takes you from no token to your first successful API call.

In the desktop web app, open the team you want to connect and go to Settings > Integrations. Generate a new API token and copy it.

Call Get the linked team to check that the token works. Send the token in the Authorization header:

Terminal window
curl https://rest.boxhero-app.com/v1/teams/linked \
-H "Authorization: Bearer $BOXHERO_API_TOKEN"

The response describes the team the token belongs to:

{
"id": 149058,
"name": "Acme Retail",
"mode": 2,
"currency_symbol": "$",
"currency_code": "USD",
"price_decimal_places": 2,
"memo": null
}

If you get a 401 instead, the token is missing or was copied incompletely. See Errors for the error format.