Skip to main content
GET
/
discord
/
oauth
Initiate and Complete Discord OAuth Flow
curl --request GET \
  --url https://api.example.com/discord/oauth \
  --header 'Content-Type: application/json' \
  --data '{}'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.seraph.si/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

code
string
required

The authorization code received from Discord after user consent

Body

application/json

The body is of type object.

Response

Successfully exchanged authorization code for access and refresh tokens

The response is of type string.