APIs
On this page
You can interact with Atlas programmatically using the following APIs. Use the links on this page to learn more about each API and their resources.
To manage your Atlas deployments and apps, you can use the Atlas Administration API or Atlas App Services Admin API.
To access your Atlas data, you can use the Atlas Data API or the Atlas GraphQL API.
Important
Each Atlas API has its own resources and requires initial setup. The Data API also uses different access keys from the Atlas Administration API and the App Services Admin API.
To configure access for each API, use these resources:
Admin APIs
Atlas Administration API
Manage your Atlas environment through the command line or automate with the Atlas Administration API. Atlas Administration API resources add, edit, or delete administrative objects within Atlas, including projects, users, and database deployments.
App Services Admin API
Programmatically perform administrative tasks outside of the App Services UI with the App Services Admin API. This includes tasks such as modifying authentication providers, creating rules, and defining functions.
Data APIs
Atlas Data API
Programmatically create, read, update, and delete data stored in Atlas with the Data API. You can use the Data API to access Atlas data from the command line or from other applications.
Atlas GraphQL API
Access only the data you need with the Atlas GraphQL API. App Services automatically generates a GraphQL API for your application based on your data model. You can extend the API for your app's use cases by writing custom query and mutation resolvers.