Skip to content
nsin docs

Count tickets with unread replies

GET
/tickets/unread-count
curl --request GET \
--url https://api.nsin.ir/tickets/unread-count \
--header 'Authorization: Bearer <token>'

How many of your open tickets have a reply from support you have not read — the number is_unread flags in the list. GET /badges returns it together with the notification count.

Unread count.

Media type application/json
object
count
integer
Example generated
{
"count": 1
}

Missing, malformed, revoked or expired API key. (A valid key whose account has been deactivated gets 403 account is inactive instead.)

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example invalidKey
{
"error": "invalid API key"
}

The key exceeded its request budget (300 requests per minute by default).

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example limited
{
"error": "rate limit exceeded"
}