Export your mock APIs as Postman collections for testing, documentation, and team collaboration
Export your entire Mock API Builder project as a Postman Collectionβa JSON file containing all your endpoints, request examples, and documentation. Import this collection into Postman, Insomnia, or other API clients for easy testing.
Test all endpoints in Postman without manually creating each request
Share collections with teammates so everyone has the same API setup
Endpoints are organized by resource with proper folder hierarchy
Includes base URLs, headers, and example request bodies automatically
Navigate to the project you want to export from your dashboard
Click the "Settings" tab in the project navigation
Scroll to the "Export" section in settings
Click the button to download the collection JSON file
File is saved as project-name-postman-collection.json
Launch the Postman desktop app or web version
Find the Import button in the top left corner of Postman
Either drag the JSON file into the import dialog, or click "Upload Files" to browse
project-name-postman-collection.jsonReview the collection details and click "Import"
Your collection appears in the sidebarβclick any request to test it
You can also import by clicking the Import button and pasting the direct URL to your exported collection if it's hosted online.
Endpoints are grouped by resource type:
The collection includes a pre-configured base URL variable:
{{baseUrl}} = https://mockapibuilder.io/api/your-projectEach POST/PUT/PATCH request includes example request bodies with proper field types
Common headers are pre-configured:
Content-Type: application/jsonAuthorization: Bearer {{token}} (for protected endpoints)Use Postman environments to easily switch between mock and production APIs:
baseUrl = https://mockapibuilder.io/api/your-projectbaseUrl = https://api.yourcompany.com/v1baseUrl variable with your API URLClick any request in the collection to open it, then click "Send" to test
Test all endpoints at once using the Collection Runner:
Write tests in the "Tests" tab to validate responses:
Postman can automatically generate API documentation from your collection. Click "View in web" to create a shareable documentation page.
Insomnia also supports Postman collections:
Import directly in VS Code:
Import into Paw:
Import collections into HTTPie: