Slack.Web.Tooling.Tokens (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Exchanges a refresh token for a new app configuration token.

Functions

rotate(refresh_token, optional_params \\ %{})

Exchanges a refresh token for a new app configuration token.

API reference

Rate limit: Special rate limits apply.
Scopes: No scopes required

View on docs.slack.dev ↗

Required Params

  • refresh_token - The xoxe refresh token that was issued along with the old app configuration token. ex: xoxe-1-abcdefg

Errors the API can return:

  • invalid_refresh_token - The given refresh token is invalid.
  • unknown_error - Temporary error for dev only restriction

See the Common Errors guide for errors returned by every Web API method.