# Add a new content token (VPP token) Add a new VPP content token to the MDM server for managing VPP accounts in Apple App Management. ## Endpoint **POST** `/api/v1/mdm/apps/account/vpp` ## Request ### Request URL `https://{serverurl}/api/v1/mdm/apps/account/vpp` `{serverurl}`: [OAuth Authentication Endpoint Domain](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html) ### Scope `MDMOnDemand.MDMDeviceMgmt.CREATE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers | Name | Type | Required | Value | |---|---|---|---| | Content-Type | string | Mandatory | application/json | | Accept | string | Mandatory | application/json | #### Request Body `application/json` | Name | Type | Required | Description | |---|---|---|---| | vpp_token_file | long | Mandatory | The unique ID of the server token file. Upload using [Upload File](https://www.manageengine.com/mobile-device-management/help/api/cloud/files-upload-file-ems.html). | | email_address | string | Mandatory | Email ID added to receive notifications about the server token expiry date | ### Sample Request ```curl curl --request POST \ --url https://appdomain/api/v1/mdm/apps/account/vpp \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"vpp_token_file":121313,"email_address":"sysadmin@zylker.com"}' ``` ### Sample Request Body Add a new VPP content token with notification email. ```json { "vpp_token_file": 121313, "email_address": "sysadmin@zylker.com" } ``` ## Response ### Response Parameters #### HTTP Code 200 Response body: `application/json` | Name | Type | Description | |---|---|---| | location_name | string | Location name associated with the added content token | | expired | boolean | Whether the content token has expired. false = active, true = expired | | businessstore_id | long | Unique ID of the content token in the MDM system | | organisation_name | string | Organization name associated with the content token | | expiry_date | long | Epoch timestamp (milliseconds) when the content token expires | ### Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ### Sample Response: HTTP 200 VPP account successfully added with token details. ```json { "location_name": "Location Name - 2", "expired": false, "expiry_date": 1639122831000, "businessstore_id": 9007199254741896, "organisation_name": "Zylker Inc" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 60 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.