Upgrade @trycourier/courier to v6.0.7 or later if the slack recipient shape fails type checking. The to.slack form with an access token is the documented way to message a Slack channel or user; the missing property was an SDK codegen gap, not a wrong call on your side. After upgrading, the send call type-checks as documented.

Context: Issue trycourier/courier-node#176 (closed, 5 comments): Sending to Slack via courier.send with a to.slack recipient failed TypeScript checks because the MessageRecipient type had no slack property, even though the docs showed exactly that shape. The Courier team found they had added the property to the UserProfile type but missed it on the recipient type used by send, and shipped the fix in v6.0.7.