Send a one-way Slack message to a channel or user, or set a waitTime to listen for a reply and capture it in the response.
Prerequisites: You must either join the Poku Slack workspace or add the Poku bot to your own Slack workspace before using this endpoint.
Authentication header containing your Poku API key. Find it in the Poku dashboard. The format is "Bearer YOUR_API_KEY"
The content of the Slack message.
The Slack user, member, or channel ID to send the message to.
If left blank, the message is sent from the Poku Slack workspace — you must join it first.
Your Slack workspace ID. When provided, Pokubot sends the message from within your own workspace. How to find your workspace ID
When undefined or not supplied, no reply is captured.
When supplied, this is the number of seconds the API request is held open waiting for a reply. The recipient MUST reply directly to the Slack thread and the reply will be captured in the HTTP response.
1 <= x <= 60060
Duration in seconds to keep listening for a reply after the waitTime window closes.
When a reply arrives within this window, Poku sends it to any webhooks you've configured.
1 <= x <= 600006000