Skip to main content
GET
/
v1
/
views
List views
curl --request GET \
  --url http://localhost:8000/v1/views \
  --header 'Authorization: Bearer <token>'
{
  "views": [
    {
      "view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "document_type": "<string>",
      "name": "<string>",
      "fields": [
        "<string>"
      ],
      "is_default": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: dk_test_ or dk_live_

Query Parameters

document_type
string | null

Filter by document type code

Response

List of views owned by the tenant

Response for listing views (GET /v1/views).

views
ViewResponse · object[]
required

List of views owned by the tenant