PUT/api/v1/slack/me/notifications

Turn my Slack notifications on or off

{"on": true} turns on your own Slack notifications and looks you up by your Markdrop sign-in email in each connected Slack workspace; results says per workspace: matched, linked (already), not_found, taken (that Slack account is linked to another Markdrop account), needs_update (an admin must update the app's permissions), token or error, with a sentence to show. Nothing about any other email. 409 when none of your workspaces has Slack connected. {"on": false} turns them off; your Slack link stays.

API token required10 per minute per IP

Guide: Slack notifications

Code samples and Try it

Request body

#

application/json, required

  • onbooleanRequired

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?