Create a Discord public thread
Changed onCreates a public thread in a channel. Pass messageId to start the thread from an existing message, or omit it to create a standalone thread.
Threads created here are always public. Requires the bot to hold Create Public Threads, which the Zernio bot requests at install time.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/discord/channels/{channelId}/threads
- Auth: HTTP bearer
Path parameters
Discord channel snowflake ID
Query parameters
SocialAccount _id of the Discord account bound to this channel's guild
Request body
Response
Thread created.
Changes
- warning
added the new
accountenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info