API Reference

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

{
  "event": "LEAD.WON",
  "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"
        }
      }
    ],
    "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"
    },
    "dealFeedback": {
      "dealFeedbackUrl": "https://meetime.com.br/dashboard/public/deal-feedback/421c1g02-43db-44f7-9f22-6ae76ba89f328"
    },
    "meetings": [
      {
        "id": 401,
        "startDate": "2022-04-10T20:00:00.000Z",
        "endDate": "2022-04-10T20:45:00.000Z",
        "title": "Título da reunião agendada",
        "description": "Descrição da reunião agendada",
        "guests": [
          "[email protected]",
          "[email protected]"
        ],
        "ownerEmail": "[email protected]"
      }
    ]
  }
}