---
title: "Create ADE Token"
method: POST
path: "/applemdms/{deviceManagerObjectId}/ade_tokens"
tags: ["mdm"]
---

# Create ADE Token

`POST /applemdms/{deviceManagerObjectId}/ade_tokens`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/applemdms/{deviceManagerObjectId}/ade_tokens`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/applemdms/:deviceManagerObjectId/ade_tokens/post.ts> (a function with typed inputs; its response is checked against the schema)

Upload an encrypted Apple Business Manager server token for the given device manager.

#### Sample Request
```
curl -X POST /applemdms/{device_manager_object_id}/ade_tokens \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key:{API_KEY}' \
  -d '{"encrypted_server_token":"..."}'
```

## Path parameters

- `deviceManagerObjectId` string, byte, required

## Request body

- object
  - `encryptedServerToken` string

## Response `200`

A successful response.

- unknown

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
