Skip to main content
POST
Fetch in-app notifications

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
page
integer
Example:

1

limit
integer
Example:

10

page_limit
integer

Alias for limit

Example:

10

scope
enum<string> | null
default:all

Agent inbox tab. Ignored for non-agent roles. An unrecognised value falls back to all instead of failing the request, so older clients keep working.

Available options:
all,
agent,
athletes
Example:

"athletes"

Response

Notification list

message
string
Example:

"success"

unread_count
integer

Unread rows for the whole inbox, never scoped by tab.

Example:

5

counts
object | null

Agent-only. Per-tab category totals.

data
object

Laravel paginator.