MongoDB Atlas Administration API
2.0
https://cloud.mongodb.com
The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.
The Atlas Administration API uses OAuth2 Service Accounts or HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to return database access history with cURL, run the following command in the terminal:
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \
--digest \
--header "Accept: application/vnd.atlas.2025-03-12+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true"
To learn more, see Get Started with the Atlas Administration API. For support, see MongoDB Support.
You can also explore the various endpoints available through the Atlas Administration API in MongoDB's Postman workspace.
This is version 2.0
of this API documentation. Last update on Jun 16, 2025.
This API is provided under license CC BY-NC-SA 3.0 US.