API v10InterfacesRESTPostOAuth2AccessTokenWithBotAndGuildsScopeResultVersion: 0.37.46On this pageRESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-exampleIndex Propertiesaccess_tokenexpires_inguildrefresh_tokenscopetoken_typeProperties access_tokenaccess_token: stringexpires_inexpires_in: numberguildguild: APIGuildrefresh_tokenrefresh_token: stringscopescope: stringtoken_typetoken_type: string
https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-example