POST/api/v1/slack/connect

Finish Add to Slack

The end of Add to Slack: code and state from Slack's redirect. Connects that Slack workspace to this Markdrop workspace (one Slack workspace per Markdrop workspace: 409 when it's connected elsewhere) and links your own Slack account. The state is for the account that started, and works once.

API token required20 per minute per IP

Guide: Slack

Code samples and Try it

Request body

#

application/json, required

  • codestringRequired

    1–500 characters.

  • statestringRequired

    1–1,000 characters.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?