Skip to main content
POST
Name lead custom fields

Authorizations

token
string
header
required

Body

application/json
lead_field01
string

Custom field 01 label

Maximum string length: 255
lead_field02
string

Custom field 02 label

Maximum string length: 255
lead_field03
string

Custom field 03 label

Maximum string length: 255
lead_field04
string

Custom field 04 label

Maximum string length: 255
lead_field05
string

Custom field 05 label

Maximum string length: 255
lead_field06
string

Custom field 06 label

Maximum string length: 255
lead_field07
string

Custom field 07 label

Maximum string length: 255
lead_field08
string

Custom field 08 label

Maximum string length: 255
lead_field09
string

Custom field 09 label

Maximum string length: 255
lead_field10
string

Custom field 10 label

Maximum string length: 255
lead_field11
string

Custom field 11 label

Maximum string length: 255
lead_field12
string

Custom field 12 label

Maximum string length: 255
lead_field13
string

Custom field 13 label

Maximum string length: 255
lead_field14
string

Custom field 14 label

Maximum string length: 255
lead_field15
string

Custom field 15 label

Maximum string length: 255
lead_field16
string

Custom field 16 label

Maximum string length: 255
lead_field17
string

Custom field 17 label

Maximum string length: 255
lead_field18
string

Custom field 18 label

Maximum string length: 255
lead_field19
string

Custom field 19 label

Maximum string length: 255
lead_field20
string

Custom field 20 label

Maximum string length: 255

Response

Success

Represents a WhatsApp instance

id
string

Opaque identifier generated by the server. Do not assume UUID format.

token
string

Instance authentication token

status
enum<string>

Current connection status

Available options:
disconnected,
connecting,
connected,
hibernated
paircode
string

Pairing code

qrcode
string

Base64 QR Code for authentication

name
string

Instance name

profileName
string

WhatsApp profile name

profilePicUrl
string<uri>

Profile picture URL

isBusiness
boolean

Indicates whether it is a business account

plataform
string

Source platform (iOS/Android/Web)

systemName
string

Operating system name

owner
string

Instance owner

current_presence
enum<string>

Current presence status of the instance (non-persisted field)

Available options:
available,
unavailable
Example:

"available"

lastDisconnect
string

Textual date/time of the last disconnection

lastDisconnectReason
string

Reason for the last disconnection

adminField01
string

Admin field 01

adminField02
string

Admin field 02

openai_apikey
string

OpenAI API key

chatbot_enabled
boolean

Enable automatic chatbot

chatbot_ignoreGroups
boolean

Ignore group messages

chatbot_stopConversation
string

Keyword to stop conversation

chatbot_stopMinutes
integer

How long the chatbot will stay paused when using stop conversation

chatbot_stopWhenYouSendMsg
integer

How long the conversation will stay paused when you send a message manually

fieldsMap
object

Map of the instance's custom fields (when present)

currentTime
string

Current time returned by the API

created
string

Creation date returned by the API. Treat the value as text; the format may vary.

updated
string

Last update date returned by the API. Treat the value as text; the format may vary.