Insert Multiple Documents
POST {{URL_ENDPOINT}}/action/insertMany
You can add more than one document at a time by using the /insertMany endpoint. In that case, you must use the documents property in the body of the request to specify the array of documents you want to insert into the collection.
Request Body
{"dataSource"=>"{{DATA_SOURCE}}", "database"=>"{{DATABASE}}", "collection"=>"{{COLLECTION}}", "documents"=>[{"name"=>"John Sample", "age"=>42}, {"name"=>"Mister Postman", "age"=>37}, {"name"=>"Miss MongoDB", "age"=>35}]}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Content-Type | string | ||
| Access-Control-Request-Headers | string | ||
| api-key | string |