Clicky

Getting started with Postman

Updated 2 days ago by Yelena

Related articles

This guide will help you get started with Multilogin API using Postman.

Setting up Postman

  1. Download and install Postman
  2. Go to Multilogin X API documentation and click "Run in Postman" in the top-right corner
  3. Select "Postman for <your OS>"
  4. In the "Import collection" window, select your workspace and click "Import": this will copy all the requests into a workspace on your computer
You can also use the web version by choosing "Postman for Web" in step 3; or manually create a collection with requests in Postman by clicking "New" > "Collection" and giving it a name.

Signing in

Here you will learn how to convert your password and sign in to your Multilogin X account.

  1. Visit MD5 Hash Generator and convert your Multilogin X account password
  2. Navigate to the "Profile Access Management" folder in your Postman workspace and select "POST User Signin"
  3. In the “Body“ section, put in your Multilogin X account email and password hash generated in Step 1
  4. Click “Send“ to execute the request: a "200" status means success
You will need the value of the token attribute to run further requests in Postman.
The token expires in 1 hour. You can refresh it with the "User Refresh Token" endpoint.

Using the bearer token

For the majority of requests in Postman you will need to use the bearer token. Here's how you can put its value automatically into each request.

  1. Complete the steps from the Signing in section of this article
  2. Go to the "Tests" section in the "POST User Signin" request
  3. Add the following code and save the changes:
    const response = pm.response.json()
    const token = response['data']['token']
    pm.collectionVariables.set("token", token)
  4. Go to the main collection page "Multilogin X API" and switch to the "Authorization" section
  5. Specify the below values and save changes:
    1. "Bearer token" for "Type"
    2. {{token}} for "Token"
  6. When you use other requests, the token value will pull up automatically to the "Authorization" section of each request



Check out our latest news, research, and tutorials


Has your issue been resolved?