Create Custom Menu Link
POST/custom-menus/
Creates a new custom menu for a company. Requires authentication and proper permissions. For Icon Usage Details please refer to https://doc.clickup.com/8631005/d/h/87cpx-243696/d60fa70db6b92b2
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
Title of the custom menu
URL of the custom menu
Icon information for the custom menu
Whether the menu must be displayed on the agency's level
trueWhether the menu must be displayed for sub-accounts level
trueWhether the menu must be displayed to all sub-accounts
trueMode for opening the menu link
iframenew_tabcurrent_tabList of sub-account IDs where the menu should be shown. This list is applicable only when showOnLocation is true and showToAllLocations is false
Which user-roles should the menu be accessible to?
alladminuserWhether to allow camera access (only for iframe mode)
Whether to allow microphone access (only for iframe mode)
{
"title": "Custom Menu",
"url": "https://custom-menus.com/",
"icon": {
"name": "yin-yang",
"fontFamily": "fab"
},
"showOnCompany": true,
"showOnLocation": true,
"showToAllLocations": true,
"openMode": "iframe",
"locations": [
"gfWreTIHL8pDbggBb7af",
"67WreTIHL8pDbggBb7ty"
],
"userRole": "all",
"allowCamera": false,
"allowMicrophone": false
}
Custom menu successfully created
- application/json
- Schema
- Example (auto)
Schema
Single Custom menu link object
{
"customMenu": {
"id": "12345",
"icon": {
"name": "yin-yang",
"fontFamily": "fab"
},
"title": "Dashboard",
"url": "/dashboard",
"order": 1,
"showOnCompany": true,
"showOnLocation": true,
"showToAllLocations": true,
"locations": [
"gfWreTIHL8pDbggBb7af",
"67WreTIHL8pDbggBb7ty"
],
"openMode": "iframe",
"userRole": "all",
"allowCamera": false,
"allowMicrophone": false
}
}