ViewsGet all Views

Get all Views

Retrieve all views that have been created by the authenticated user.

curl -X GET "https://api.datafiniti.co/v4/views" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
[
  {
    "name": "John Doe",
    "fields": [
      "example_string"
    ],
    "created_at": "2024-12-25T10:00:00Z"
  }
]
GET
/views
GET
Bearer Token
Bearer Tokenstring
Required

Bearer token obtained from the /auth endpoint. Include in requests as: Authorization: Bearer <token>

Bearer token obtained from the /auth endpoint. Include in requests as: Authorization: Bearer <token>
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Bearer token obtained from the /auth endpoint. Include in requests as: Authorization: Bearer <token>

Responses

namestring

View name

fieldsstring[]

Fields included in this view

created_atstring

Timestamp when the view was created

This allows you to retrieve all of the views you've created.