Skip to main content
POST
Create View
Pick the conditions from Get View Fields. The response holds the view id and the url that opens the list on it.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
entity
enum<string>
required

The list a view belongs to: contact (Contacts page), company (Companies page) or task (Tasks page)

Available options:
contact,
company,
task
Example:

"contact"

name
string
required

Name shown on the tab, 1 to 80 characters after trimming.

Required string length: 1 - 80
Example:

"Hot leads in Paris"

icon
enum<string>

Font Awesome icon shown on the tab. Defaults to far fa-folder on create.

Available options:
far fa-folder,
far fa-list-check,
far fa-star,
far fa-flag,
far fa-bolt,
far fa-bullseye,
far fa-calendar,
far fa-user,
far fa-phone,
far fa-fire,
far fa-reply,
far fa-plane-departure,
far fa-triangle-exclamation,
far fa-circle-check
Example:

"far fa-fire"

visibility
enum<string>

me: private to its owner. everyone: shared with the team, which needs the "Create views for the team" permission. Defaults to me on create.

Available options:
me,
everyone
Example:

"me"

filters
object

A view's filters. On update, they replace all the current filters.

Example:

Response

View created and pinned

data
object