Skip to navigation

Create a Smart View

View as Markdown

Create a Lead or Contact Smart View.

For Lead Smart Views, the type field is optional (since lead is the default type).

When creating a Smart View, you must specify that you want to get objects of the appropriate type via an object_type clause as per the Advanced Filtering section. See the examples below.

Authentication

AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects any.

Response

Successful response
date_createddatetime
date_updateddatetime
descriptionstring or null
idstring
is_sharedboolean
is_user_dependentboolean or null
namestring
organization_idstring
querystring or null
s_querymap from strings to any or null
typeenum
user_idstring or null
selected_fieldslist of maps from strings to any or nullOptional
shared_withlist of strings or nullOptional
sharing_settingsobject or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error