Skip to main content
POST
/
api
/
management
/
contacts
Criar um contato
curl --request POST \
  --url https://api.olie.ai/api/management/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "João Silva",
  "role": "Gerente de Vendas",
  "email": "[email protected]",
  "phone": "(17) 91234-5678",
  "description": "Contato principal da empresa",
  "customers": {
    "to_add": [],
    "to_rem": []
  },
  "tags": {
    "to_add": [],
    "to_rem": []
  }
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.olie.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

Nome do contato

Maximum string length: 255
role
string

Cargo/função do contato

email
string<email>

E-mail do contato

Maximum string length: 254
phone
string

Telefone do contato

Maximum string length: 30
description
string

Descrição do contato

Maximum string length: 255
customers
object

Clientes vinculados ao contato. Envie to_add (clientes a adicionar) e to_rem (clientes a remover).

tags
object

Etiquetas do contato. Envie to_add (etiquetas a adicionar) e to_rem (etiquetas a remover).

form_answers
any[]

Respostas do formulário dinâmico

Response

200

Sucesso