Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Postman, we need to create a Collection (folder), with 4 requests:

...

🛠️ Start Postman

  • Create a New Collection - Call it Create Users From CSV

    image-20241106-120740.pngImage Added

  • Authorisation - we will put authorisation into the requests so no need to change anything in the collection authorisation tab.

  • Select the Variables tab

    • Add variables for orgId and parentId (capital i’s !) and set both appropriately (likely to be 1)

  • Now on to creating the requests.

    • Click the 3 dots alongside the Create Users From CSV Folder and then click Add Request

      image-20241106-131137.pngImage Added

  • Run

  • Run the Collection - Click the 3 horizontal dots alongside the folder Create Users From CSV

    image-20241106-132644.pngImage Added

    • This will then show the Postman Runner screen

      image-20241106-132952.pngImage Added

      The Run manually radio button will be selected by default, so just click on the Data File : Select File button (highlighted above in yellow) and select your CSV file.

Info

Be aware that you have limited “Runs” on the free tier within Postman indicated at the bottom of the image above !

  • Upon selecting a file, the runner will inspect the row count and set the iterations.

    image-20241106-133624.pngImage Added

    A preview button will also be available - give it a try, it will reveal your CSV and give you the opportunity to set the data type.

    image-20241119-110359.pngImage Added

  • Once you are happy, close the preview and click the Run button.

Tip

Check you dashboard that the users have been created.

Import this collection as a starter, change the variables to point to your dashboard and credentials.

View file
nameCreate Users From CSV.postman_collection.json

Some Example users.

View file
namePostman_NewUsers.csv