You say#manifest
Manifest
Every field of the JSON document that describes an app.
One JSON document describes an app. Create an app from it, export one to it, or update one with it: on the app’s settings page, or with apps.manifest.* and a configuration token (manifests guide).
{
"_metadata": { "major_version": 1 },
"display_information": { "name": "Deploy bot", "description": "Posts deploys", "background_color": "#2c2d30" },
"features": {
"bot_user": { "display_name": "deploybot", "always_online": true },
"app_home": { "home_tab_enabled": true, "messages_tab_enabled": true, "messages_tab_read_only_enabled": false },
"slash_commands": [{ "command": "/deploy", "description": "Deploy a branch", "usage_hint": "[branch]" }],
"shortcuts": [{ "name": "Create ticket", "type": "message", "callback_id": "create_ticket", "description": "From this message" }]
},
"oauth_config": { "scopes": { "bot": ["chat:write", "channels:history", "app_mentions:read", "commands"] } },
"settings": {
"event_subscriptions": { "bot_events": ["app_mention", "message.channels"] },
"interactivity": { "is_enabled": true },
"socket_mode_enabled": true
}
}
Fields
| Field | Type | Required | What |
|---|---|---|---|
_metadata | object | no | |
_metadata.major_version | integer | no | 1–2. |
_metadata.minor_version | integer | no | 0–99. |
display_information | object | yes | |
display_information.name | string | yes | 2–40 characters. |
display_information. | string | no | Up to 300 characters. |
display_information. | string | no | Up to 4,000 characters. |
display_information. | string | no | |
features | object | no | |
features.bot_user | object | no | |
features. | string | yes | 1–40 characters. |
features. | boolean | no | |
features.app_home | object | no | |
features. | boolean | no | |
features. | boolean | no | |
features. | boolean | no | |
features. | array (Up to 50 items.) | no | Up to 50 items. |
features. | string | yes | Up to 33 characters. |
features. | string | no | Up to 200 characters. |
features. | string | no | Up to 100 characters. |
features. | URL | no | Up to 2,000 characters. |
features. | boolean | no | |
features.shortcuts[] | array (Up to 10 items.) | no | Up to 10 items. |
features. | string | yes | 1–24 characters. |
features. | "global" / "message" | yes | |
features. | string | no | Up to 150 characters. |
features. | string | yes | 1–255 characters. |
oauth_config | object | no | |
oauth_config.scopes | object | no | |
oauth_config.scopes.bot | array of "chat:write" / "chat:write.public" / "chat:write.customize" / "channels:read" / "channels:history" / "channels:join" / "channels:manage" / "groups:read" / "groups:history" / "groups:write" / "im:read" / "im:history" / "im:write" / "mpim:read" / "mpim:history" / "mpim:write" / "users:read" / "users:read.email" / "reactions:read" / "reactions:write" / "pins:read" / "pins:write" / "files:read" / "files:write" / "canvases:read" / "canvases:write" / "tabs:read" / "tabs:write" / "lists:read" / "lists:write" / "calls:read" / "workflows:run" / "commands" / "app_mentions:read" / "incoming-webhook" / "team:read" | no | Up to 36 items. |
oauth_config. | array of URL | no | Up to 20 items. |
settings | object | no | |
settings. | object | no | |
settings. | URL | no | Up to 2,000 characters. |
settings. | array of "message.channels" / "message.groups" / "message.im" / "message.mpim" / "app_mention" / "reaction_added" / "reaction_removed" / "member_joined_channel" / "member_left_channel" / "channel_created" / "channel_rename" / "channel_archive" / "channel_unarchive" / "pin_added" / "pin_removed" / "call_started" / "call_ended" / "app_home_opened" / "app_uninstalled" | no | Up to 19 items. |
settings.interactivity | object | no | |
settings. | boolean | yes | |
settings. | URL | no | Up to 2,000 characters. |
settings. | boolean | no |
Updated . Every method, scope, event and limit here is generated from the server’s own code.