Views

Get a view

GET
Returns a single view

Path parameters

viewIdstringRequired
ID of view to return

Response

This endpoint returns an object
data
object
A view

Errors

GET
1curl https://api.x.flatfile.com/v1/views/us_vi_YOUR_ID \
2 -H "Authorization: Bearer <token>"
1{
2 "data": {
3 "id": "us_vi_YOUR_ID",
4 "sheetId": "us_sh_YOUR_ID",
5 "name": "My View",
6 "config": {
7 "sortField": "email",
8 "sortDirection": "asc",
9 "filter": "error",
10 "filterField": "email",
11 "q": "firstname like %John%"
12 },
13 "createdBy": "us_usr_YOUR_ID"
14 }
15}