Tightknit Community Icon

Improving Slack DM Formatting Using API: Tips & Tricks

ยท
ยท

Hey guys, does anyone know of a way to format Slack DMs better when sending them through the API? I assume there's not a lot of options, I've tried using ** to no avail. For example, returns, bolding, or workspace-specific emojis? Stephen C. I was told you might know about this ๐Ÿ™Œ

  • Avatar of Stephen C.
    Stephen C.
    ยท
    ยท

    To clarify, this is through the Tightknit send message API?

  • Avatar of Stephen C.
    Stephen C.
    ยท
    ยท

    We use Slack's markdown formatting, which you can reference here. Here's a quick example of the body of the request you'd send to our API:

    {
      "channel": "C060SL2H99U",
      "text": "Regular *bolded* _italic_ :thumbsup:"
    }
  • Avatar of Bodie C.
    Bodie C.
    ยท
    ยท

    Stephen C. this is perfect thanks, all problems solved!