Query
query UserAuthDiscordChannelInstallationInfo($redirectUrl: String!) {
userAuthDiscordChannelInstallationInfo(redirectUrl: $redirectUrl) {
installationUrl
}
}Variables
{
"redirectUrl": "string"
}Response
{
"data": {
"userAuthDiscordChannelInstallationInfo": {
"installationUrl": "string"
}
}
}Queries
userAuthDiscordChannelInstallationInfo
Returns the Discord OAuth URL for a user to personally authenticate with Discord.
Individual users must complete this flow (in addition to the workspace-level integration) before they can send Discord messages on behalf of themselves.
After authorization, Discord redirects back to redirectUrl with an authCode for createUserAuthDiscordChannelIntegration.
QUERY
userAuthDiscordChannelInstallationInfo(redirectUrl: String!): UserAuthDiscordChannelInstallationInfo!Arguments
redirectUrl
String!
required
installationUrl
String!
Query
query UserAuthDiscordChannelInstallationInfo($redirectUrl: String!) {
userAuthDiscordChannelInstallationInfo(redirectUrl: $redirectUrl) {
installationUrl
}
}Variables
{
"redirectUrl": "string"
}Response
{
"data": {
"userAuthDiscordChannelInstallationInfo": {
"installationUrl": "string"
}
}
}Was this page helpful?

