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. Notification Service
  3. User Notifications

Get notifications

Get notifications

POST /notification-service/v1/notifications

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

page

number

Page number (default 1)

perPage

number

Items per page (default 10)

Response

{
    "data": [
        {
            "id": "ba0902a5-e4b8-495a-84eb-002715ff1b2c",
            "contents": [
                {
                    "language": "en",
                    "content": "<p>gbkngjb&nbsp;</p>",
                    "is_default" : true
                },
                {
                    "language": "ru",
                    "content": "<p>gbjgibgibjg</p>",
                    "is_default": false
                }
            ],
            "image": "59/01JT15FN3SR1CXJNGM3WXDR0F9.jpg",
            "is_read": true,
            "read_at": "2025-04-29T20:24:19.000000Z",
            "created_at": "2025-04-29T20:05:12.000000Z"
        },
        {
            "id": "ce35a8f2-a233-4c5d-a8fd-664462389bae",
            "contents": [
                {
                    "language": "en",
                    "content": "<p>gbkngjb&nbsp;</p>",
                    "is_default": true
                },
                {
                    "language": "ru",
                    "content": "<p>gbjgibgibjg</p>",
                    "is_default": false
                }
            ],
            "image": "58/01JT15FN3SR1CXJNGM3WXDR0F9.jpg",
            "is_read": true,
            "read_at": "2025-04-29T20:24:19.000000Z",
            "created_at": "2025-04-29T20:04:56.000000Z"
        },
        {
            "id": "c2280eee-708f-4eef-9f53-10f9cc51c235",
            "contents": [
                {
                    "language": "en",
                    "content": "<p>Testlfvfkmv</p>",
                    "is_default": true
                },
                {
                    "language": "en",
                    "content": "<p>gbugbgnbgub</p>",
                    "is_default": false
                }
            ],
            "image": "56/01JT1GQPYB69SPBVT8WFTDVQKD.jpg",
            "is_read": true,
            "read_at": "2025-04-29T20:24:19.000000Z",
            "created_at": "2025-04-29T19:35:15.000000Z"
        },
        {
            "id": "e522792e-4f4e-47b4-b482-e2113ec0fc2e",
            "contents": [
                {
                    "language": "en",
                    "content": "<p>rkgntv</p>",
                    "is_default": true
                }
            ],
            "image": "55/01JT1G73JP9NZKD22RC4X1VQX0.jpg",
            "is_read": true,
            "read_at": "2025-04-29T20:24:19.000000Z",
            "created_at": "2025-04-29T19:26:12.000000Z"
        }
    ],
    "links": {
        "first": "http://127.0.0.1:8006/notification-service/v1/notifications?page=1",
        "last": "http://127.0.0.1:8006/notification-service/v1/notifications?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://127.0.0.1:8006/notification-service/v1/notifications?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "http://127.0.0.1:8006/notification-service/v1/notifications",
        "per_page": 10,
        "to": 4,
        "total": 4
    }
}
{
  "error": "Invalid request"
}

PreviousUser NotificationsNextRead Notifications

Last updated 1 month ago