Getting started with Postman
Related articles
This guide will help you get started with Multilogin API using Postman.
Setting up Postman
- Download and install Postman
- Go to Multilogin X API documentation and click "Run in Postman" in the top-right corner
- Select "Postman for <your OS>"
- In the "Import collection" window, select your workspace and click "Import": this will copy all the requests into a workspace on your computer
Signing in
Here you will learn how to convert your password and sign in to your Multilogin X account.
- Visit MD5 Hash Generator and convert your Multilogin X account password
- Navigate to the "Profile Access Management" folder in your Postman workspace and select "POST User Signin"
- In the “Body“ section, put in your Multilogin X account email and password hash generated in Step 1
- Click “Send“ to execute the request: a "200" status means success
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.
- Complete the steps from the Signing in section of this article
- Go to the "Tests" section in the "POST User Signin" request
- Add the following code and save the changes:
const response = pm.response.json()
const token = response['data']['token']
pm.collectionVariables.set("token", token) - Go to the main collection page "Multilogin X API" and switch to the "Authorization" section
- Specify the below values and save changes:
- "Bearer token" for "Type"
- {{token}} for "Token"
- When you use other requests, the token value will pull up automatically to the "Authorization" section of each request