Pular para o conteúdo principal
PATCH
Update a custom filter

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

custom_filter_id
string
obrigatório

The numeric ID of the custom filter

Corpo

application/json
name
string

The name of the custom filter

Exemplo:

"My Custom Filter"

type
enum<string>

The description about the custom filter

Opções disponíveis:
conversation,
contact,
report
Exemplo:

"conversation"

query
object

A query that needs to be saved as a custom filter

Exemplo:

Resposta

Success

id
number

The ID of the custom filter

name
string

The name of the custom filter

type
enum<string>

The description about the custom filter

Opções disponíveis:
conversation,
contact,
report
query
object

A query that needs to be saved as a custom filter

created_at
string<date-time>

The time at which the custom filter was created

updated_at
string<date-time>

The time at which the custom filter was updated