API Reference

Buscar empresa

Retorna detalhes de uma empresa especificada pelo ID.

GET - 200
{
  "status": true,
  "data": {
    "emails": ["[email protected]", "[email protected]"],
    "phones": ["55 9 99999999"],
    "site": "https://site.com",
    "origin": 1,
    "fundation_date": "2005-11-03T00:00:00Z",
    "customer_date": "2005-11-03T00:00:00Z",
    "life_cycle": 1,
    "source_id": 1,
    "source": {
      "id": 1,
      "name": "Instagram"
    },
    "industry_id": 1,
    "industry": {
      "id": 1,
      "name": "Bazar"
    },
    "parent_id": 1,
    "parent": {
      "id": 1,
      "name": "Nome do filial",
      "full_name": "Nome completo do filial",
      "email": "[email protected]",
      "phone": "55 9 99999999",
      "document": "294.515.040-95",
      "image": "https://image-url/image.png",
      "image_min": "https://image-url/image.png",
      "show_name": "Nome exibido da filial"
    },
    "responsible_id": 1,
    "responsible": {
      "id": 1,
      "name": "Nome do responsável",
      "full_name": "Nome completo do responsável",
      "email": "[email protected]",
      "phone": "55 9 99999999",
      "document": "294.515.040-95",
      "image": "https://image-url/image.png",
      "image_min": "https://image-url/image.png",
      "show_name": "Nome exibido do responsável"
    },
    "author_id": 1,
    "author": {
      "id": 1,
      "detail": "Nome do autor",
      "type": 1,
      "user_id": 5,
      "automation_id": 300,
      "form_id": 302,
      "import_id": 32,
      "user_uid": 323
    },
    "creation_date": "2020-12-01T17:12:02Z",
    "update_date": "2022-06-02T17:37:55Z",
    "addresses": [
      {
        "id": 1,
        "person_id": 11,
        "account_id": 1,
        "street": "Avenida Uruguai",
        "number": "513",
        "city": "Três de Maio",
        "state": "Rio Grande do Sul",
        "country": "Brasil",
        "postal_code": "98910-000",
        "complement": "Sala 201",
        "neighborhood": "Centro",
        "static_map": "https://atendare.storage.googleapis.com/0eae10f8-8302-4d2a-9e8f-a61ba6fd8f53/address/095cf458-58e6-428a-b07e-40f48db9ff80.png",
        "is_main": true,
        "type": 3,
        "latitude": -27.779413,
        "longitude": -54.234719,
        "place_id": "ChIJqUhaByFS-ZQRQEhDuzWC2M8",
        "full_address": "Avenida Uruguai, 513 - Sala 201 - Centro, Três de Maio - Rio Grande do Sul - Brasil, 98910-000",
        "url_address": "Avenida+Uruguai%2C+513+-+Sala+201+-+Centro%2C+Tr%C3%AAs+de+Maio+-+Rio+Grande+do+Sul+-+Brasil%2C+98910-000"
      }
    ],
    "groups": [
      {
        "id": 1,
        "name": "Nome do grupo 1"
      },
      {
        "id": 2,
        "name": "Nome do grupo 2"
      }
    ],
    "tags": [
      {
        "id": 3,
        "name": "Nome da Tag",
        "color": "#ffffff"
      }
    ],
    "contacts": [
      {
        "id": 2,
        "name": "Nome do contato",
        "full_name": "Nome completo do contato",
        "email": "[email protected]",
        "phone": "55 9 99999999",
        "document": "294.515.040-95",
        "image": "https://image-url/image.png",
        "image_min": "https://image-url/image.png",
        "show_name": "Nome exibido do contato"
      }
    ],
    "id": 11,
    "name": "Nome da companhia",
    "full_name": "Nome completo da companhia",
    "email": "[email protected]",
    "phone": "+55 999999999",
    "document": "294.515.040-95",
    "image": "https://image-url/image.png",
    "image_min": "https://image-url/image.png",
    "show_name": "Nome exibido da companhia",
    "custom_example": "Valor do campo personalizado"
  }
}
Language
Click Try It! to start a request and see the response here!