Logo
30 Days of Postman API Documentation

Import exported data

POST https://api.getpostman.com/import/exported

This endpoint allows you to import your exported Qodex data. For more information about how you can export your data, refer Export your Qodex data.

On successful imports, the response will be an array with Each element contaning id, name and uid of entities created.

Note: Refer to examples for different scenarios.

Requires API Key as X-Api-Key request header.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "collections": [ { "id": "b31be584-1b1e-4444-b581-761edf88fe77", "name": "Swagger Petstore", "uid": "2282-b31be584-1b1e-4444-b581-761edf88fe77" } ] }



Curl
curl -X POST 'https://api.getpostman.com/import/exported' -H 'Content-Type: multipart/form-data' -F '{"name"=>"type", "value"=>"file", "datatype"=>"string"}=' -F '{"name"=>"file", "value"=>nil, "datatype"=>"null"}='

ENDPOINTS