Im trying to create a script using the Postman API to import a URL as a collection. When I use the import button through the app, it works, but doing with the script returns that it is missing a required parameter “collection” within the json.
Failed to import collection. Status code: 400
Response body: {"error":{"name":"paramMissingError","message":"Parameter is missing in the request.","details":{"param":"collection"}}}
AFAIK, you can only import a Postman data dump or an OpenAPI definition via the Postman API. Can you share how you’re trying to do this import using the Postman API?