Get site(s) access
GET/sites
Returns the list of sites that the user has access to
Request
Query Parameters
Possible values: [ACTIVE
, INACTIVE
]
Fetch sites with status (only valid when using SitePermissions 'defined'
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Username of request caller
sites
object[]
List of sites
Site Identifier
Site Title
Site status
Possible values: [ACTIVE
, INACTIVE
]
SiteId permission level
Possible values: [READ_WRITE
, READ_ONLY
]
Possible values: [ADMIN
, DELETE
, READ
, WRITE
, GOVERN
]
SiteId document upload email address
config
object
Set Maximum Document Content Length in Bytes
Set Maximum number of Documents allowed
Set Maximum number of Webhooks allowed
ocr
object
Max number of OCR pages (-1 for unlimited)
Max number of OCR actions that can be created (-1 for unlimited)
usage
object
The number of documents in the site (only tracked when using MaxDocuments)
The number of ocr tx requests in the site (only tracked when using OCR MaxTransactions)
{
"username": "string",
"sites": [
{
"siteId": "string",
"title": "string",
"status": "ACTIVE",
"permission": "READ_WRITE",
"permissions": [
"ADMIN"
],
"uploadEmail": "string",
"config": {
"maxContentLengthBytes": "string",
"maxDocuments": "string",
"maxWebhooks": "string",
"ocr": {
"maxPagesPerTransaction": 0,
"maxTransactions": 0
}
},
"usage": {
"documentCount": 0,
"ocrTransactionCount": 0
}
}
]
}