curl --request POST \
--url https://api.wppfy.com/chat/notes/refresh \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"number": "5511999999999@s.whatsapp.net"
}
'{
"chat": {
"id": "<string>",
"wa_fastid": "<string>",
"wa_chatid": "<string>",
"wa_chatlid": "<string>",
"wa_archived": false,
"wa_contactName": "",
"wa_name": "",
"name": "",
"image": "",
"imagePreview": "",
"parent_community": {
"jid": "<string>",
"name": "<string>",
"image_url": "<string>",
"image_preview_url": "<string>",
"default_subgroup_jid": "<string>"
},
"wa_ephemeralExpiration": 0,
"wa_isBlocked": false,
"wa_isGroup": false,
"wa_isGroup_admin": false,
"wa_isGroup_announce": false,
"wa_isGroup_community": false,
"wa_isGroup_member": false,
"wa_isPinned": false,
"wa_label": [
"<string>"
],
"wa_notes": "",
"wa_lastMessageTextVote": "",
"wa_lastMessageType": "",
"wa_lastMsgTimestamp": 0,
"wa_lastMessageSender": "",
"lead_awaitingReply": true,
"wa_muteEndTime": 0,
"owner": "",
"wa_unreadCount": 0,
"phone": "",
"common_groups": "Family Group(120363123456789012@g.us),Work(987654321098765432@g.us)",
"lead_name": "",
"lead_fullName": "",
"lead_email": "",
"lead_personalid": "",
"lead_status": "",
"lead_tags": [
"<string>"
],
"lead_notes": "",
"lead_isTicketOpen": false,
"lead_assignedAttendant_id": "",
"lead_kanbanOrder": 0,
"lead_field01": "",
"lead_field02": "",
"lead_field03": "",
"lead_field04": "",
"lead_field05": "",
"lead_field06": "",
"lead_field07": "",
"lead_field08": "",
"lead_field09": "",
"lead_field10": "",
"lead_field11": "",
"lead_field12": "",
"lead_field13": "",
"lead_field14": "",
"lead_field15": "",
"lead_field16": "",
"lead_field17": "",
"lead_field18": "",
"lead_field19": "",
"lead_field20": "",
"chatbot_agentResetMemoryAt": 0,
"chatbot_lastTrigger_id": "",
"chatbot_lastTriggerAt": 0,
"chatbot_disableUntil": 0,
"chatbot_summary": ""
},
"wa_notes": "Customer prefers to be contacted in the afternoon",
"source": "appstate_reload"
}{
"error": "number is required"
}{
"error": "chat not found"
}{
"error": "history sync still in progress, try again in a moment"
}{
"error": "failed to fetch regular_low app state: connection closed"
}Chats
Reload the chat's internal notes in WhatsApp
Re-reads the chat’s internal notes from WhatsApp before returning the updated value.
Recommended usage:
- try
force=falsefirst - if that does not update the note correctly, try
force=true - use
force=trueonly as a correction attempt, because it performs a heavier reload
POST
/
chat
/
notes
/
refresh
curl --request POST \
--url https://api.wppfy.com/chat/notes/refresh \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"number": "5511999999999@s.whatsapp.net"
}
'{
"chat": {
"id": "<string>",
"wa_fastid": "<string>",
"wa_chatid": "<string>",
"wa_chatlid": "<string>",
"wa_archived": false,
"wa_contactName": "",
"wa_name": "",
"name": "",
"image": "",
"imagePreview": "",
"parent_community": {
"jid": "<string>",
"name": "<string>",
"image_url": "<string>",
"image_preview_url": "<string>",
"default_subgroup_jid": "<string>"
},
"wa_ephemeralExpiration": 0,
"wa_isBlocked": false,
"wa_isGroup": false,
"wa_isGroup_admin": false,
"wa_isGroup_announce": false,
"wa_isGroup_community": false,
"wa_isGroup_member": false,
"wa_isPinned": false,
"wa_label": [
"<string>"
],
"wa_notes": "",
"wa_lastMessageTextVote": "",
"wa_lastMessageType": "",
"wa_lastMsgTimestamp": 0,
"wa_lastMessageSender": "",
"lead_awaitingReply": true,
"wa_muteEndTime": 0,
"owner": "",
"wa_unreadCount": 0,
"phone": "",
"common_groups": "Family Group(120363123456789012@g.us),Work(987654321098765432@g.us)",
"lead_name": "",
"lead_fullName": "",
"lead_email": "",
"lead_personalid": "",
"lead_status": "",
"lead_tags": [
"<string>"
],
"lead_notes": "",
"lead_isTicketOpen": false,
"lead_assignedAttendant_id": "",
"lead_kanbanOrder": 0,
"lead_field01": "",
"lead_field02": "",
"lead_field03": "",
"lead_field04": "",
"lead_field05": "",
"lead_field06": "",
"lead_field07": "",
"lead_field08": "",
"lead_field09": "",
"lead_field10": "",
"lead_field11": "",
"lead_field12": "",
"lead_field13": "",
"lead_field14": "",
"lead_field15": "",
"lead_field16": "",
"lead_field17": "",
"lead_field18": "",
"lead_field19": "",
"lead_field20": "",
"chatbot_agentResetMemoryAt": 0,
"chatbot_lastTrigger_id": "",
"chatbot_lastTriggerAt": 0,
"chatbot_disableUntil": 0,
"chatbot_summary": ""
},
"wa_notes": "Customer prefers to be contacted in the afternoon",
"source": "appstate_reload"
}{
"error": "number is required"
}{
"error": "chat not found"
}{
"error": "history sync still in progress, try again in a moment"
}{
"error": "failed to fetch regular_low app state: connection closed"
}Authorizations
Body
application/json
Response
Chat note reloaded successfully
