# Add a new Font payload configuration to an existing profile To create Mac Font policy ## Endpoint `POST /api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy ### Scope `MDMOnDemand.MDMDeviceMgmt.CREATE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Path Parameters | Parameter | Type | Required | Description | |---|---|---|---| | profile_id | string | Mandatory | Unique identifier of the profile. Obtain from the [Create Profile](https://www.manageengine.com/mobile-device-management/help/api/cloud/profiles-create-profile.html) or [Get Profiles](https://www.manageengine.com/mobile-device-management/help/api/cloud/profiles-get-profile.html) response | #### Request Body `application/json` | Parameter | Type | Required | Description | |---|---|---|---| | font_name | string | Optional | Display name of the font to install on the device | | font_file_id | long | Optional | File ID of the uploaded font file. Use the fileID from the [File Upload API](https://www.manageengine.com/mobile-device-management/help/api/cloud/files-upload-file-ems.html) response | | font_id | long | Optional | Identifier of an existing font entry to associate with this payload | ### Sample Request ```curl curl --request POST \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macfontpolicy \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{}' ``` ### Sample Request Body Add Font payload to the profile ```json { "font_id": 1, "font_file_id": "value", "font_name": "Zylker User" } ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body: `application/json` | Parameter | Type | Description | |---|---|---| | payload_id | long | Unique identifier for the created payload item | | font_name | string | Display name of the installed font | | font_file_id | long | File ID of the uploaded font file | | font_id | long | Identifier of the associated font entry | ### Sample Response: HTTP 200 Font payload successfully added ```json { "payload_id": 9007199254741000, "font_id": 1, "font_file_id": "value", "font_name": "Zylker User" } ``` ### Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ## API Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.