Token
DeleterApi/oauth2/token
Get Access & Refresh tokens
POST https://api.deleter.xyz/stable/oauth2/token
Request Body
Name
Type
Description
redirect_uri
string
Redirect URI that was used on discord's authorize page
client_id
string
Id of the client that owns this API
code
string
Access code from discord's authorize page
{
"user_id": "405044179182419980",
"access_token": "FygfgFJgfyujgdbfjHFfgt",
"refresh_token": "OIkhuiUFgdsyuGFuydfgf",
"token_type": "Bearer",
"expires_timestamp": 2147483647000
}{ "error": "Bad Request", "statusCode": 400, "message": "all parameters must be string." }{ "error": "Internal Server Error", "statusCode": 500, "message": "{ error: \"invalid_client" }" }Last updated