Waffle API
  1. Game Service
Waffle API
  • Overview
  • Authentication
    • Get access token
      POST
    • Refresh token
      POST
    • Revoke token
      POST
  • Game
    • List games
      GET
    • Get loyalty program by ID
      GET
    • Create new game
      POST
    • Update game by ID
      PUT
    • Delete game by ID
      DELETE
  • Ticket
  • Game Account
    • List game accounts
      GET
    • Get game account by ID
      GET
    • Search game accounts
      POST
  • Report
  • Game Service
    • Gen Token
      POST
    • Login
      POST
    • List games
      GET
    • Verify Session
      GET
  1. Game Service

Verify Session

Testing
Develop Env
https://waffle-game-service-dev.nextzy.com/api
Develop Env
https://waffle-game-service-dev.nextzy.com/api
GET
https://waffle-game-service-dev.nextzy.com/api
/v1/auth/verify-session
Last modified:2024-05-21 10:15:46
The Api verify session is used to check whether a user's session is active or not.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Content-Type
string 
required
Default:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://waffle-game-service-dev.nextzy.com/api/v1/auth/verify-session'

Responses

🟢200Success
application/json
Body
statusCode
integer 
required
data
string 
required
timestamp
string 
required
Example
{
  "statusCode": 200,
  "data": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRlbW8xIiwiY3VzdG9tZXIiOiJhMDY3ZTQ5Yy1hNDBiLTRjNGQtOTliMS1kODM0NTliYjk0YzYiLCJnYW1lQ29kZSI6IkcwMDEiLCJvcFRva2VuIjoiZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmpkWE4wYjIxbGNrbGtJam94TENKMWMyVnlTV1FpT2pGOS5janRvNTN3SVRyZWxtcnVVczhsT01kV1NpZm1DRWFoWHlWbjlXZ0pMMjZrIiwiaWF0IjoxNzE2Mjg1NzI1LCJleHAiOjE3MTYyOTI5MjV9.9d-6eYLYq2PT4yo79N8Esa3liSCHwBgGHNvh6NifZus",
  "timestamp": "2024-05-21T18:02:30+08:00"
}
🟠401Unauthorized
Modified at 2024-05-21 10:15:46
Previous
List games
Built with