Moovila API: Setting up and Testing Queries in Postman

Postman can be used to test Moovila API production code and endpoints. It provides a user-friendly interface for making requests, viewing responses and debugging issues. 

If you're already using Postman, you can download a Moovila-specific collection and set up your testing environment. If you need testing tools, Postman might be a good option, and after downloading the collection you'll have everything you need to get moving.

Note that Postman should only be used for testing and prototyping API requests. 

Please use the following steps to get started:

  • Step One: Set up your API app in Moovila.

  • Step 2: Create a Postman account.
    If you don't already have one, create a Postman account to download and install the application, or use the web version. 

  • Step 3: Download the Moovila Postman collection via the button below.

    This provides sets pre-built requests to use for testing.

  • Step 4: Use the Collections in Postman.
    Go to the Collections menu to see the types of sample requests that can be made.

  • Step 5: Get your app's authorization keys and set the redirect URL in the Developer Portal.
    Postman needs your app’s authorization keys to generate access tokens and connect to the Moovila API:
    1. In Postman, under the Moovila collection's Authorization tab, copy the Callback URL.
    2. Return to the Moovila API.  Click on the listed application to open it and view details.
    3. Take the Callback URL from Postman and put it into the App Default field in the API configuration for Moovila. Click Save to save details.
      image (3).png
    4. In the App Details dialogue in Moovila, copy the values for Client ID and Client Secret using the copy icon.
      image (3).png

    5. Return to Postman. Under the Variables section in Postman, paste the "client id" and "client secret" into the Current value column. Then click Save in the upper right corner of the dialogue to save changes.
      image (5).png
    6. Click into the Authorizations tab and Scroll to the bottom. Click the Get New Access Token button.
      2024-10-17_10-10-37.png

    7. The Moovila OAuth screen opens, prompting you to authenticate using Moovila credentials. Enter your Email Address and Password, then click Log In to proceed.
      image (6).png
    8. Once this is successful, a new access token will be generated in Postman. Save this to the collection. You are now able to run any of the requests within the collection.

 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.