Skip to main content

UserCheckResponse

Response from the credential verification endpoint containing subscription status.

from respectify.schemas import UserCheckResponse

Fields

active

Whether the subscription is currently active

result.active: bool

status

Current subscription status (e.g., "ACTIVE", "CANCELED", "PAUSED")

result.status: Optional[str]

expires

Subscription expiration date in ISO 8601 format

result.expires: Optional[str]

plan_name

Name of the subscription plan (e.g., "Personal", "Professional", "Anti-Spam Only")

result.plan_name: Optional[str]

allowed_endpoints

List of API endpoints allowed for this plan

result.allowed_endpoints: Optional[List[str]]

error

Error message if subscription check failed (null on success)

result.error: Optional[str]

Example Response

{
"active": true,
"status": "ACTIVE",
"expires": "2025-12-31T23:59:59Z",
"plan_name": "Professional",
"allowed_endpoints": ["antispam", "commentscore", "relevance", "dogwhistle", "megacall"],
"error": null
}