Leads

Cadastrar um novo lead

post/api/v1/leads

Request

  • Base URL
    https://api.g1.datacrazy.io
  • URL
    https://api.g1.datacrazy.io/api/v1/leads
  • Auth
    HTTP bearer

Request body

namestring

Nome do lead

imagestring

Url da Imagem do lead

phonestring

Telefone do lead

emailstring

Email do lead

sourcestring

Origem do lead

companystring

Empresa do lead

birthDatestring date-time

Data de nascimento do lead

taxIdstring

Documento de identificação

sitestring

Site do lead

instagramstring

Instagram do lead

additionalFieldsstring[]

Campos adicionais do lead

typestring

Tipo do lead (PERSON ou COMPANY)

displayNamestring

Nome de exibição do lead

sectorstring

Setor de atuação

rolestring

Cargo do lead

notesstring

Notas/Observações do lead

parentIdstring

ID do lead pai

primaryContactLeadIdstring

ID do lead contato principal (quando tipo COMPANY)

Example request

{
  "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",
  "birthDate": "2000-01-01T00:00:00.000Z",
  "taxId": "108.154.702-92",
  "site": "www.meulead.com.br",
  "instagram": "@guilhermegavazzoni",
  "address": {
    "type": "HEADQUARTERS"
  },
  "addresses": [
    {
      "zip": "88338-130",
      "address": "Avenida Brasil",
      "block": "Centro",
      "city": "Balneário Camboriú",
      "state": "SC",
      "country": "BR",
      "isPrimary": true
    }
  ],
  "sourceReferral": {
    "sourceId": "2bc3d979-93a4-4e64-8903-5d9379d3de91",
    "sourceUrl": "https://example.com/artigo-de-origem",
    "ctwaId": "849fefab-e697-4720-9303-e788c23790cc"
  },
  "type": "PERSON",
  "displayName": "DataCrazy Softwares",
  "sector": "Tecnologia",
  "role": "Diretor",
  "notes": "Observações gerais sobre o lead",
  "parentId": "15b41959-b04d-4a99-b878-6e45fffa7633",
  "primaryContactLeadId": "15b41959-b04d-4a99-b878-6e45fffa7633"
}

Changes

    • breaking

      the request property type changed from no type to string

    • warning

      removed from the request property allOf list

    • info

      added the new optional request property

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property