curl --request GET \
--url https://api.example.com/cabinet/admin/button-styles \
--header 'Authorization: Bearer <token>'{
"home": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"subscription": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"balance": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"referral": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"support": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"info": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"admin": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
}
}Return current per-section button styles. Admin only.
curl --request GET \
--url https://api.example.com/cabinet/admin/button-styles \
--header 'Authorization: Bearer <token>'{
"home": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"subscription": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"balance": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"referral": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"support": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"info": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
},
"admin": {
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Full button styles configuration (all 7 sections).
Configuration for a single button section.
Show child attributes
Configuration for a single button section.
Show child attributes
Configuration for a single button section.
Show child attributes
Configuration for a single button section.
Show child attributes
Configuration for a single button section.
Show child attributes
Configuration for a single button section.
Show child attributes
Configuration for a single button section.
Show child attributes