API - Chamada API para Listar Atendimentos de um Lead

Listar Atendimentos no SAC360 de um Lead específico

GET /sac360/lead/:id

Endpoint completo: https://sprinthub-api-master.sprinthub.app/sac360/lead/XXXX?i=instancia

i = nome da sua instância

XXXX = ID do Lead

Headers

NameValue

apitoken

XXXXXXX

Resposta

[
    {
        "id": XXXX,
        "status": null,
        "attendant": 001,
        "userClient": null,
        "userAttendance": "user",
        "department": null,
        "attendantName": "User Name",
        "name": "Whats name ",
        "lead_name": null,
        "name_contact": null,
        "startDate": "2024-07-30T15:27:20.000Z",
        "endDate": null,
        "star": null,
        "evaluation": null,
        "chatGroup": null,
        "type": "whatsapp",
        "recipientid": "55xxxxx@s.whatsapp.net",
        "photo": null,
        "photo_larger": null,
        "accid": "55xxxxx",
        "obs": null,
        "mautic_relation": ID_DO_LEAD,
        "post_id": null,
        "page_id": null,
        "comment_id": null,
        "comment_txt": null,
        "whatsapp_acc": null,
        "whatsapp_number": "55xxxxx",
        "whatsapp_oficial": null,
        "unread": 0,
        "lastMesssageUser": "2024-07-29T13:55:50.000Z",
        "lastMesssageAttendance": "2024-07-30T15:27:30.000Z",
        "pin": null,
        "archive": null,
        "isGroup": null,
        "opportunity": null,
        "sequence": 0,
        "createDate": "2024-07-30T15:27:20.000Z",
        "updateDate": "2024-07-30T15:27:30.000Z",
        "createDateUnix": 1722353240,
        "updateDateUnix": 1722353250,
        "lastMesssageUserUnix": 1722261350,
        "photos3": "https://whatsxxxxr.spxxxx.app/xxxx/whatsapp/xxxo/55xxxx2/55xxxxx@s.whatsapp.net"
    }
]

Last updated