Get started
API Endpoint
Generate API refresh token.
To use this API, you need an API key. Please contact us at https://twinbp.com to get your own API key.
get characters
curl --location 'https://app.twinbp.com/api/getRefreshToken' \
--header 'Content-Type: application/json' \
--data '{
"user_id" : 1825,
"password" : "123456"
}'
To get characters you need to make a POST call to the following url
:
https://app.twinbp.com/api/getRefreshToken
Result example :
{
"stauts": "success",
"status_code": 200,
"message": "Refresh token generated successfully",
"refresh_token": "9e4ab5927c38ba60452afa47f3cc090711c20804575d18fb8f786203e3b9d458a848c2e654e16325",
"expires_at": "2024-10-30T12:25:01.808728Z"
}
Input Data
Field | Type | Description |
---|---|---|
user_id | Integer | Login User Id. |
Password | String | Password provided by |
Errors
The Refresh Token API uses the following error codes:
Error Code | Meaning |
---|---|
1000 | Validation Message |