Skip to main content
All CollectionsAPI
How to Use Imonggo API with Postman

How to Use Imonggo API with Postman

Try out Imonggo's REST APIs using Postman. You can tailor your API calls and review responses from all of Imonggo's essential endpoints.

Peter Virly avatar
Written by Peter Virly
Updated over a month ago
  1. Generate a base64 encoding of your API token

    Get your API token (see the guide here) and use a tool like base64encode to convert your API token to base64 format. The format of the text you're going to encode is <API token>:X.

    For example:

    b3288678ba5a1b81a504e2921b4ed96b9eacb561:X

    and the base64 format should be:

    YjMyODg2NzhiYTVhMWI4MWE1MDRlMjkyMWI0ZWQ5NmI5ZWFjYjU2MTpY

  2. In Postman, make a new request

    You can create a new request from a workspace, by using New > HTTP, or by selecting + to open a new tab.

  3. Select your request type

    Choose whether GET, POST, PUT or DELETE.

  4. Enter the URL

    Enter the URL of the API endpoint you want to make a request from.

  5. Configure headers for your API request

    Under the Headers tab, add a Key and Value for Postman to send as headers. Click "Key", enter the header name (e.g., Authorization) then, Click "Value", enter the header value (e.g., Basic base64_token). The main headers you will need are:

    1. Authorization - the value of this header should be Basic base64_token, where base64_token is the base64 encoded token you generated from #1.

    2. Accept - the value of this header can be application/json or application/xml depending on what format of the response you prefer.

    3. Content-type - the value of this header can be application/json or application/xml depending on what format of the response you prefer.

    For example:

  6. Enter the request body

    If your request method requires a body, go to the Body tab and select raw. Enter the request body in JSON or XML format.

  7. Click Send

Did this answer your question?