Sprutgaming API
  • Welcome
  • Information
    • Authorization
  • Core
    • Media
      • Get Banners By Category
      • Get Gallery By Category
    • Stories
      • Get Story List
    • Site Blocks
      • Get News
        • Get Stock News List
        • Get Bonuses With News
        • Get Slot Templates?
      • Get Sections
      • Get Settings
      • Get Languages List
      • Get FAQ List
      • Get Language by slug
      • Get Site Section List
      • Get Site Section by slug
      • Get SIte Footer
    • Sportbook
      • Open Session
      • Close Session
    • Promocodes
      • Activate Promocode
    • Chat
      • Get Chats List
      • Get Ads
      • Get Rules
      • Get Messages In Chat
      • Send Message
  • Services
    • User Service
      • Authorization
        • Recovery
          • Send Code
          • Verify Code
          • Update
        • Password Reset
          • Send Code
          • Update
        • Confirmation
          • Send Code
          • Verify Code
        • Login
        • Register
        • Refresh Token
        • Me
        • Self Block
        • Update
      • Fingerprint
        • Get Widget
        • Get Balance
        • Get Transactions
      • Ranks
      • Avatars
        • Get Avatars
        • Update User Avatar
        • Remove User Avatar
      • Countries
      • Promocodes
    • Game Service
      • Session
        • 🎮Open Demo Session
        • 🎲Open Real Session
      • Sections
        • 🖇️Get Available Sections
        • 📦Get Games By Section
        • 🎲Get Section By Id
      • Themes
        • 🎨Get Available Themes
        • 📦Get Games By Theme
      • Favourites
        • Get Favourites
        • Add To Favourites
        • Remove From Favourites
      • Casino Games
        • Get last played games
        • Get Casino games List
      • Providers
        • Get Providers List
      • Misc
        • Get Game By UUID
        • Get Last Played Games
      • User Big Wins
    • Wallet Service
      • Exchanger
        • ➡️Get Output Pairs
        • ⬅️Get Input Pairs
      • 👉Prerequisites
      • 🗃️Get Wallets
      • 💲Get Wallet By Currency
      • 🗳️Get Transactions
      • 💱Get Available Currencies
      • True Play
        • Get True Play Balance
        • Get True Play Widget
        • Get True Play Exchange transactions
    • Bonus Service
      • Lucky Spin
        • Get Available Spins
        • Spin
      • Get Available Bonuses
      • Get Active Bonuses
      • Get Bonus History
      • Activate Bonus
      • Cancel Active Bonus
      • Get Bonus Categories
      • Get Bonus By Id
    • Tournament Service
      • Get Tournaments
      • Get Tournament by ID
      • Get Tournament Users
      • Get Tournament Games
      • Get User Tournament History
    • Jackpot Service
      • Get Jackpot Groups
      • Get Jackpot Group
      • Get Jackpot Group Winners History
      • Get Jackpot Group Games
      • Get User Jackpot Win History
    • Achievement Service
      • Get List of Achievement Categories
      • Get List of Achievements
      • Get User Achievement Points
    • Store Service
      • Get Products List
      • Get Product Categories
      • Get User Products
      • Purchase Bonus
    • Loyalty Store Service
    • Notification Service
      • User Notifications
        • Get notifications
        • Read Notifications
        • Read All Notifications
        • Delete Notifications
    • SSO (OAuth2) Service
    • Payment Serive
      • Payment Methods Groups
        • List
        • Get By Id
      • Payment Actions
        • Pay
        • Withdraw
        • Cancel
      • Payment Orders
        • List
      • Aggregate
        • Aggregate by currencies
    • Config Service
      • Settings
        • List Public Settings
Powered by GitBook
On this page
  1. Services
  2. User Service
  3. Authorization

Refresh Token

Refresh Token

POST /auth-service/v1/refresh

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

refresh_token

string

Refresh token which received from attempt or register route

Response

{
    "auth": {
        "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9....",
        "refresh_token": "IMov9vEqKsNSr4fLMd5lbpwZ4MBohzM7bOTePk...",
        "token_type": "bearer",
        "expires_in": 3600
    },
    "user": {
        "id": 1,
        "uuid": "d64f5a42-ccee-412c-add5-a75f2d3f0c46",
        "country_id": 1,
        "rank_id": 1,
        "partner_id": null,
        "referral_code": null,
        "name": "RichOstrich#1584",
        "first_name": null,
        "last_name": null,
        "birth_date": null,
        "gender_type": "Male",
        "email": "test@test.com",
        "phone": null,
        "language": "en",
        "kyc_level_type": "NonVerified",
        "blocked": false,
        "block_reason": null,
        "loyalty_score": 0,
        "password_updated_at": null,
        "kyc_verified_at": null,
        "email_verified_at": "2025-03-24T09:42:34.000000Z",
        "blocked_at": null,
        "blocked_until": null,
        "created_at": "2025-03-24T09:42:34.000000Z",
        "updated_at": "2025-03-24T09:42:34.000000Z",
        "rank": {
            "id": 1,
            "title": "Test Rank (FOR INTERNAL PURPOSES ONLY)",
            "currency": "USD",
            "level": 1,
            "type": "ForReal",
            "acceptance_strategy": "Persists",
            "switch_amount": 15000000,
            "withdraw_max_daily": 5000000,
            "deposit_max_daily": 100000000,
            "images": [],
            "options": [],
            "created_at": "2025-03-24T09:42:33.000000Z",
            "updated_at": "2025-03-24T09:42:33.000000Z"
        }
    }
}

PreviousRegisterNextMe

Last updated 2 months ago