Refresh Token
DeleterApi/oauth2/token/refresh
Refresh expired token
POST https://api.deleter.xyz/stable/oauth2/token/refresh
Request Body
Name
Type
Description
user_id
string
Id of the user that owns refresh_token
redirect_uri
string
Redirect URI that was used on discord's authorize page
client_id
string
Id of the client that owns this API
refresh_token
string
Refresh token that was received on /token endpoint
{
"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