> For the complete documentation index, see [llms.txt](https://www.mongodb.com/docs/api/doc/atlas-app-services-admin-api-v3/llms.txt)

# Export an app as a zip file

> GET /groups/{groupId}/apps/{appId}/export
> 
> **The Export Endpoint is deprecated. Instead, call the [Pull App
> Configuration Files](#operation/adminPullAppConfiguration)
> endpoint with an ``Accept: application/zip`` header.**
> 
> [Export](https://www.mongodb.com/docs/atlas/app-services/apps/export/)
> an application as a zip file.



## Servers
- The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.)


## Authentication methods
- Token auth


## Parameters

### Path parameters

- **groupId** (string)
  An Atlas [Project/Group
  ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/).

- **appId** (string)
  The ObjectID of your application.
  [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this
  value.


### Query parameters

- **deployment** (string)
  The `_id` of a specific deployment to export. If not specified, export the latest deployment.

- **source_control** (boolean)
  If `true`, the exported directory is suitable for automatic
  deployment from GitHub or other source control.

  Cannot be used with the `template` query parameter.

- **template** (boolean)
  If `true`, the exported directory does not include any
  identifiers or other data that would tie the app to a specific
  deployment instance.

  Cannot be used with the `source_control` query parameter.

- **version** (string)
  The configuration file schema version to export. This value
  corresponds to `config_version` in `root_config.json`.



## Responses
### 200
The application was successfully exported.


[Powered by Bump.sh](https://bump.sh)
