There are two ways to insert a Slack Pinboard macro.
Create a pinboard through pasting a link of Slack message
Create a pinboard through pasting a link of Slack message.
Copy a link on the Slack app, then paste it on a Confluence edit page.
...
Display any message on public/private channels in Slack
Only restricted users can view messages in private channel
Create a pinboard through the macro edit
Insert a Slack Pinboard macro using the slash command, selectable by typing /slack or /pin in the Confluence page edit screen.
...