Skip to main content
POST
/
leads
Criar lead
curl --request POST \
  --url http://localhost:3000/leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "João Silva",
  "whatsapp": "5511999999999",
  "source": "website"
}
'

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
Example:

"João Silva"

whatsapp
string
required
Example:

"5511999999999"

source
string
required
Example:

"website"

Response

Lead criado com sucesso