Integrations
Set a Discord channel-to-project mapping
Changed onCreate or replace one Discord channel's mapping. Idempotent on (connection, channel). New conversations in the channel and its threads then run in the project; existing conversations keep theirs.
put/integrations/connections/{connectionId}/discord-channel-project-mappings/{discordChannelId}
Request
- Base URLhttps://api.sazabi.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
connectionIdstring uuid required
Discord bot integration connection ID (the integration_connections.id).
discordChannelIdstring required
Discord channel ID. Must be a text or announcement channel the Sazabi bot can see in the connection's server; a thread uses its channel's mapping.
Request body
Response
OK
Changes
- info
endpoint added
- info