# (automation API) Create extensionUpload
Creates an extension upload in Dynamics 365 Business Central.
> IMPORTANT
> The recommended way to upload, install, and manage per-tenant extensions is now the Business Central Admin Center<../tenant-admin-center-manage-apps> and its ../administration-center-api_app_management. The in-product Extension Management upload flow and the Automation API extensionUpload endpoint are deprecated and planned for removal in 2027 release wave 1. See ../../upgrade/deprecated-features-platform.
## Bound Actions
Actions|Return Type|Description
Microsoft.NAV.upload<dynamics_extensionupload_create>|none|Uploads an extension.
## HTTP requests
Replace the URL prefix for Business Central depending on environment following the guideline<../../api-reference/v2.0/enabling-apis-for-dynamics-nav>.
### Insert extensionUpload
```
POST /microsoft/automation/v2.0/companies({companyId})/extensionUpload
```
### Request headers
Header|Value
Authorization|Bearer {token}. Required.
Content-Type|application/json
### Request body
In the request body, supply a JSON representation of a extensionUpload object<../resources/dynamics_extensionupload>.
### Response
If successful, this method returns ```201 Created``` response code and a extensionUpload object in the response body.
### Upload extensionUpload
```json
POST /microsoft/automation/v2.0/companies({companyId})/extensionUpload({extensionUploadId})/Microsoft.NAV.upload
```
### Request headers
Header|Value
Authorization|Bearer {token}. Required.
### Request body
Don't supply a request body for this method.
### Response
If successful, this method returns ```204 No Content``` response code.
## Example
Request
Here's an example of the request.
```json
POST https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/extensionUpload
Content-type: application/json
{
    "schedule" : "Current version",
    "schemaSyncMode": "Add"
}
```
Response
Here's an example of the response.
```json
HTTP/1.1 201 Created
Content-type: application/json
{
    "systemId" : "f99be650-07ce-45df-a285-3afe69a953eb",
    "schedule" : "Current version",
    "schemaSyncMode": "Add",
    "extensionContent" : ""
}
```
## Related information
Tips for working with the APIs<../../developer/devenv-connect-apps-tips>
../resources/dynamics_extensionupload

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/api/dynamics_extensionupload_create, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/administration/api/dynamics_extensionupload_create/
