Saturday, September 13, 2025

How to Get Salla Store Access Token (Step-by-Step Guide)

 



If you’re building an integration with Salla Store and want to fetch products (or any other data) via their APIs, the first thing you’ll need is an Access Token. In this guide, I’ll walk you through the process of generating the token using Postman.






Step 1: Make Sure You Have a Salla Store

Before you begin, you must already have a Salla Store account. If you don’t, sign up on Salla’s website first.

Step 2: Prepare Your OAuth2 Details

You’ll need the following credentials from your Salla Store:

  • Client ID – available in your store dashboard

  • Client Secret – also available in your store dashboard

  • Email – linked to your store account (available in your store dashboard)

  • State – for example 12345678 (you’ll use this value again later)

Here are the main endpoints:

  • Auth URLhttps://accounts.salla.sa/oauth2/auth

  • Access Token URLhttps://accounts.salla.sa/oauth2/token


Step 3: Configure Postman

Open Postman and create a new request. Fill in the fields as shown below (see example screenshot in your reference):

  • Auth URLhttps://accounts.salla.sa/oauth2/auth

  • Access Token URLhttps://accounts.salla.sa/oauth2/token

  • Client ID: from your store dashboard

  • Client Secret: from your store dashboard

  • State12345678 (or your chosen value Keep remembering this value, we will pass this value as a password on the page that will come after clicking on generate token.

Note: I have attached a Screenshot at the bottom that can help you get the ClientId and ClientSecret from the store

Step 4: Handle the State Parameter

When you hit the Generate Token button, Salla will redirect you to a login page.

👉 At this step:

  • Enter the email associated with your store.

  • For the password, enter the state value you used earlier (e.g., 12345678).

This is a required step for successful authentication.

Note: I have attached a Screenshot at the bottom that can help you get the associated email



Getting ClientId and ClientSecret from the store




Getting the associated Email with the store:





Step 5: Generate the Access Token

Once authenticated, you’ll receive the Access Token. Copy this token — you’ll need it for calling the APIs. In the following image, you can see how we are calling the products api.