Skip to content

Current subscription (removed)

Deprecated
GET
/subscriptions/current
curl --request GET \
--url https://api.nsin.ir/subscriptions/current \
--header 'Authorization: Bearer <token>'

Removed. Subscriptions are per domain. Always returns 410; use GET /domains/{domain}/subscription instead.

Missing, malformed, revoked or expired API key — or the owning account is inactive.

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"
}

Endpoint removed.

Media type application/json
object
error
string
Allowed value: subscription_moved_to_domain
message
string
Example
{
"error": "subscription_moved_to_domain"
}