POST
/
api
/
v1
/
leads
Criar lead
curl --request POST \
  --url https://api.datacrazy.io/v1/api/api/v1/leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Guilherme Gavazzoni",
  "image": "https://dc-qqqq2222pb.s3.amazonaws.com/0a7ac87c-2f50-46b5-9c39-80ffec53e633/1163f5c2-62f4-443f-a84f-9c223b05ae3b",
  "phone": "+55 (47) 991331190",
  "email": "guilherme@datacrazy.com.br",
  "source": "Google ads",
  "company": "Apple",
  "taxId": "108.154.702-92",
  "site": "www.meulead.com.br",
  "instagram": "@guilhermegavazzoni",
  "address": {
    "zip": "88338-130",
    "address": "Avenida Brasil",
    "block": "Centro",
    "city": "Balneário Camboriú",
    "state": "SC",
    "country": "BR"
  },
  "sourceReferral": {
    "sourceId": "2bc3d979-93a4-4e64-8903-5d9379d3de91",
    "sourceUrl": "https://example.com/artigo-de-origem",
    "ctwaId": "849fefab-e697-4720-9303-e788c23790cc"
  },
  "tags": [
    {
      "id": [
        "<string>"
      ]
    }
  ],
  "lists": [
    {
      "id": [
        "<string>"
      ]
    }
  ],
  "attendant": {
    "id": "<string>"
  }
}'

Authorizations

Authorization
string
header
required

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

Body

application/json