API Reference

A Meetime envia para o seu sistema uma notificação quando um lead for perdido.

{
  "event": "LEAD.LOST",
  "prospection": {
    "id": 1,
    "lead": {
      "id": 1,
      "email": "[email protected]",
      "firstName": null,
      "name": null,
      "company": null,
      "phones": [],
      "position": null,
      "site": null,
      "state": null,
      "city": null,
      "twitter": null,
      "facebook": null,
      "linkedIn": null,
      "annotations": "fg",
      "customFields": {},
      "publicUrl": "https://meetime.com.br/dashboard/public/leads/xxx"
    },
    "cadence": {
      "id": 1,
      "name": "Nome da cadência"
    },
    "originType": "IMPORTED_FROM_LIST",
    "inbound": false,
    "startDate": "2018-04-12T14:24:34.835Z",
    "endDate": "2019-05-22T01:11:38.829Z",
    "status": "WON",
    "salesman": {
      "id": 1,
      "name": "Vendedor",
      "email": "[email protected]"
    },
    "salesmanTeam": {
      "id": 1,
      "name": "Time do vendedor"
    },
    "activities": [],
    "extraActivities": [
      {
        "id": 1,
        "status": "FINISHED",
        "scope": "EXTRA_ACTIVITY",
        "goalDate": "2018-08-30T12:56:19.704Z",
        "executionDate": "2018-08-30T12:52:41.327Z",
        "annotation": "Notas da atividade",
        "type": "SOCIAL_POINT",
        "executedBy": {
          "id": 1,
          "name": "Vendedor"
        },
        "executedByteam": {
          "id": 1,
          "name": "Time do vendedor"
        }
      },
      {
        "id": 1,
        "status": "FINISHED",
        "scope": "EXTRA_ACTIVITY",
        "goalDate": "2018-09-12T18:32:00.413Z",
        "executionDate": "2018-09-17T14:25:17.634Z",
        "type": "SEARCH",
        "executedBy": {
          "id": 1,
          "name": "Vendedor"
        },
        "executedByteam": {
          "id": 1,
          "name": "Time do vendedor"
        }
      }
    ],
    "lostReason": {
      "id": 1,
      "name": "Motivo da perda"
    },
    "origin": {
      "campaign": null,
      "source": null,
      "conversion": "lista-outbound",
      "channel": "UNKNOWN"
    },
    "rdStationInfo": {
      "id": "2d1b489a-1e2a-4499-bc4b-707cee31a8cf",
      "publicUrl": "http://app.rdstation.com.br/leads/public/2d1b489a-1e2a-4499-bc4b-707cee31a8cf"
    }
  }
}