Browse the docs

GET/v1/brokerage

Get the brokerage this token is scoped to, and the scopes the token carries

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

Request

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

Parameters

This endpoint takes no parameters.

Examples

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

Responses

200 Successful response
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "scopes": [
    "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.
401 Authorization not provided
{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}
403 Insufficient access
{
  "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"
    }
  ]
}