Slack. Web. Apps. Icon
(SlackKit v1.0.0-alpha.0)
View Source
Summary
Functions
Sets the app icon
Functions
Sets the app icon
API reference
Rate limit: Tier 1: 1+ per minute
Scopes:
- User token:
app_configurations:write
Required Params
app_id- The ID of the app whose icon you want to set.
Optional Params
file- File contents viamultipart/form-dataurl- URL of a publicly hosted image
Errors the API can return:
error_bad_format- Icon must be a valid image file.invalid_app- App does not exist.invalid_app_id- App ID is not valid.invalid_icon_size- Icon dimensions must be between 512x512px and 2000x2000px.invalid_parameters- Only one ofURLorfilecan be defined.missing_arguments- One ofURLorfilemust be provided.unable_to_open_file- Error with file upload.
See the Common Errors guide for errors returned by every Web API method.