GET/v1/projects/{id}/documents
List a project's documents, each with where to download it
Send an API key as a Bearer token. The scope each endpoint needs is listed under Authentication.
Request
GET https://api.propvista.io/v1/projects/{id}/documents
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | |
jurisdiction | query | string | Yes | UAE or CA_TRREB (Ontario). Your brokerage must hold an active entitlement there. One of: UAE, CA_TRREB. |
Examples
curl -X GET "https://api.propvista.io/v1/projects/YOUR_ID/documents?jurisdiction=UAE" \
-H "Authorization: Bearer $PROPVISTA_API_KEY"Responses
200 Successful response
{
"data": [
{
"id": "string",
"kind": "DOCUMENT",
"type": "string",
"title": "string",
"date": "string",
"url": "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"
}
]
}