Browse the docs

GET/v1/entitlements

List the token brokerage's module entitlements

Send an API key as a Bearer token. The scope each endpoint needs is listed under Authentication.

Request

GET https://api.propvista.io/v1/entitlements

Parameters

NameInTypeRequiredDescription
statusqueryarray of stringNoOne of: TRIAL, ACTIVE, PAST_DUE, GRACE, CANCELED.

Examples

curl -X GET "https://api.propvista.io/v1/entitlements" \
  -H "Authorization: Bearer $PROPVISTA_API_KEY"

Responses

200 Successful response
{
  "data": [
    {
      "id": "string",
      "brokerageId": "string",
      "module": "CRM",
      "status": "TRIAL",
      "jurisdictionCode": "string",
      "jurisdictionRole": "OPERATOR",
      "currentPeriodStart": "string",
      "currentPeriodEnd": "string",
      "cancelAtPeriodEnd": true,
      "quantity": -9007199254740991,
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}
  • X-RateLimit-Limit: Requests this key may make per minute.
  • X-RateLimit-Remaining: Requests left in the current minute.
  • X-RateLimit-Reset: Unix seconds when the minute window resets. Sent on a 429 only.
  • X-Quota-Limit: Requests the plan, or the key's own cap, allows in the billing period.
  • X-Quota-Remaining: Requests left in the billing period.
  • X-Quota-Reset: Unix seconds when the billing period resets.
400 Invalid input data
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}
401 Authorization not provided
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}
403 Insufficient access
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}
404 Not found
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}
429 The monthly request quota or the per-minute limit is used up. Wait Retry-After seconds; see https://propvista.io/docs/rate-limits.
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}
  • X-RateLimit-Limit: Requests this key may make per minute.
  • X-RateLimit-Remaining: Requests left in the current minute.
  • X-RateLimit-Reset: Unix seconds when the minute window resets. Sent on a 429 only.
  • X-Quota-Limit: Requests the plan, or the key's own cap, allows in the billing period.
  • X-Quota-Remaining: Requests left in the billing period.
  • X-Quota-Reset: Unix seconds when the billing period resets.
  • Retry-After: Seconds to wait before retrying.
500 Internal server error
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}