Skip to main content
PATCH
Update a custom filter

Authorizations

api_access_token
string
header
required

Token de usuario. Envía el valor en el header api_access_token. Lo obtienes en el perfil (GET /api/v1/profile) o al regenerarlo.

Path Parameters

account_id
integer
required

The numeric ID of the account

custom_filter_id
integer
required

The numeric ID of the custom filter

Body

application/json
name
string

The name of the custom filter

Example:

"My Custom Filter"

type
enum<string>

The description about the custom filter

Available options:
conversation,
contact,
report
Example:

"conversation"

query
object

A query that needs to be saved as a custom filter

Example:

Response

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

Available options:
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