Skip to main content
POST
Create a custom field

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
entity
enum<string>
required

session = conversa

Available options:
contact,
deal,
session,
organization,
group,
channel,
user,
product,
task
type
enum<string>
required
Available options:
text,
textarea,
select,
multi-select,
boolean,
number,
decimal,
day,
datetime,
json
key
string

Chave usada em customFields (padrão: gerada do nome, sem acento e com _). Não muda depois.

options
string[]

Opções de select e multi-select (obrigatório nesses tipos)

description
string
required
boolean

Obrigatório para resolver a conversa

Response

201