Logo
30daysofpostman API Documentation

Day 12: Postman API

Number of APIs: 4


1. Qodex API - get single collection

GET https://api.getpostman.com/collections/{{collection_uid}}

Access the contents of a collection that is accessible to you using its unique id (uid).

Requires API Key as X-Api-Key request header or apikey URL query parameter.



2. Qodex API - get single environment

GET https://api.getpostman.com/environments/{{environment_uid}}

Access the contents of an environment that is accessible to you using its unique id (uid).

Requires API Key as X-Api-Key request header or apikey URL query parameter.



3. Qodex API - get single workspace

GET https://api.getpostman.com/workspaces/{{workspace_id}}

Access the contents of a workspace that is accessible to you using its id (id). Includes the collections, environments, mocks and monitors of that workspace.

Requires API Key as X-Api-Key request header or apikey URL query parameter.



4. Submit your solution - submit

POST https://postman-echo.com/post

It's time to submit your solution.

  1. Get the collection ID: Get the collection ID, and enter it under the Body tab as form-data for collection_uid.
  2. Get the environment ID: Get the environment ID, and enter it under the Body tab as form-data for environment_uid.
  3. Get the workspace ID: Get the workspace id, and enter it under the Body tab as form-data for workspace_id.
  4. Validate your solution: Save your changes in the collection and environment. Hit Send and look under the Tests tab of the server response at the bottom to review your test results.

If you have any failures, review the failed test results or ask for support in the [community forum] When all of your tests pass, you are done with today's challenge. Remember to save your changes as you'll need to pass all the challenges to claim a 30 days of Qodex badge.



ENDPOINTS