Skip to main content

How to obtain your user's API token in Stockagile

Stockagile lets you get your user’s token to connect your own integrations to the API. This way you can automate sending data, such as products, purchases or batches, from other systems. Each user has their own token.

Requirements to get your API access token

  • The user must have the OWNER, RETAIL MANAGER, RETAIL VENDOR, WHOLESALE MANAGER, WHOLESALE VENDOR, ECOMMERCE MANAGER or PRODUCTS EDITOR role. You can see the different roles in Create or edit a user.

Steps to get your API access token

  1. Go to the CONFIGURATION section from the side menu, under MORE.

  2. In the configuration menu, under Integrations, go to DEVELOPERS.

  3. In the API tab, on the “Your API token” card, click the Copy to clipboard icon. The token is shown hidden, but it is copied in full.

    Image 1: “Your API token” card on the Developers screen.

  4. Paste the copied value into the Authorization header of your HTTPS requests to the Stockagile API.

You can now use the token in your integrations. To check the available endpoints, use the Open Swagger or Open ReDoc buttons on the “API documentation” card.

Keep in mind:

  • Do not share your token with anyone: whoever has it can send data to your company on your behalf.

  • The token is linked to your user, not to the company. If your user has access to several companies, data will be sent to the company you have selected at that moment.

  • You do not need the token to connect Claude to Stockagile: that is done with the MCP. We explain it in Connect Stockagile to Claude with the MCP.

Did this answer your question?