Creates a new OAuth2 application (client). Returns client credentials including ID and secret. Application can be used for authorization flows and API access.
curl --request POST \
--url https://api.fluxer.app/v1/oauth2/applications \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true
}
'{
"id": "<string>",
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true,
"client_secret": "<string>",
"bot": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"bio": "<string>",
"flags": 1073741823,
"avatar": "<string>",
"banner": "<string>",
"token": "<string>",
"mfa_enabled": true,
"authenticator_types": []
}
}Documentation Index
Fetch the complete documentation index at: https://docs.fluxer.app/llms.txt
Use this file to discover all available pages before exploring further.
Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
Success
The unique identifier of the application
^(0|[1-9][0-9]*)$The name of the application
The registered redirect URIs for OAuth2
20Whether the bot can be invited by anyone
Whether the bot requires OAuth2 code grant
The client secret for OAuth2 authentication
Detailed bot user metadata
Show child attributes
curl --request POST \
--url https://api.fluxer.app/v1/oauth2/applications \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true
}
'{
"id": "<string>",
"name": "<string>",
"redirect_uris": [
"<string>"
],
"bot_public": true,
"bot_require_code_grant": true,
"client_secret": "<string>",
"bot": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"bio": "<string>",
"flags": 1073741823,
"avatar": "<string>",
"banner": "<string>",
"token": "<string>",
"mfa_enabled": true,
"authenticator_types": []
}
}