Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <credential>, where the credential is either:

  • an API key (sk_…), generated by an organization admin in Settings, for scripts and automation;
  • an access token from tth auth login (the TalkToHumans CLI), which any member of the workspace can use.

Both resolve to the same organization and user. A login token acts in the user's workspace: one with no workspace yet returns 403 workspace_setup_required, and one in several workspaces returns 403 forbidden (use an API key instead).

Path Parameters

view_id
string
required

View id or unambiguous public_id returned by GET /v1/views.

Body

application/json

Provide at least one field besides account_id. Omitted fields are unchanged.

account_id
string

LinkedIn account ID returned by GET /v1/accounts. Must be the view's account.

Pattern: ^[1-9][0-9]*$
name
string
Required string length: 1 - 120
description
string

An empty string removes the description.

view_type
enum<string>

Layout of contact and company views. Inboxes are always table and content views always feed.

Available options:
table,
map,
feed
filters
object[]

Replacement for all filters. An empty list removes them.

sorts
object[]

Replacement for the sort order. An empty list restores the default order.

group_by
string

Field to group conversations by. An empty string removes grouping. Inboxes only.

count_mode
enum<string>

Count shown next to an inbox in the sidebar.

Available options:
unread,
total
visibility_mode
enum<string>

When a view is shown in the sidebar. when_unread is for inboxes only.

Available options:
always,
when_unread,
when_not_empty
conversation_open_mode
enum<string>

Whether an inbox opens conversations full page or beside the list.

Available options:
full,
side_peek
is_hidden
boolean

Response

View updated.

data
object
required