API v10InterfacesRESTPostOAuth2AccessTokenURLEncodedDataVersion: 0.34.0On this pageRESTPostOAuth2AccessTokenURLEncodedData https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-exampleIndex Propertiesclient_idclient_secretcodegrant_typeredirect_uriProperties client_idclient_id: stringclient_secretclient_secret: stringcodecode: stringgrant_typegrant_type: authorization_codeoptionalredirect_uriredirect_uri?: string
https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example