Discord

Integration with Discord.

Start Discord OAuth flow

get
Query parameters
userIdstringRequired
Responses
get
/api/discord/oauth
302

Redirect to Discord

No content

Discord OAuth callback

get
Query parameters
codestringRequired
statestringRequired
Responses
200

OAuth complete

No content

get
/api/discord/callback
200

OAuth complete

No content

Fetch Discord channels for organization

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
uidstringRequired
Responses
200

List of channels

No content

get
/api/discord/channels/{uid}
200

List of channels

No content

Save selected Discord channel

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
uidstringRequired
Body
channelIdstringRequired
Responses
200

Channel saved

No content

put
/api/discord/channel/{uid}
200

Channel saved

No content

Last updated