You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

im:write scope

This scope lets an app "Modify your direct messages"

Supported token types:

This OAuth permission scope works with these Web API methods.

Methods

  • im.close - Close a direct message channel.
  • im.mark - Sets the read cursor in a direct message channel.
  • im.open - Opens a direct message channel.

Browse all scopes