Actions21
- Campo Personalizado Actions
- Contato Actions
- Disparo Actions
- Fluxo Actions
- LiveChat Actions
- Tag Actions
- WhatsApp Template Actions
LiveChat → Obter Historico
AI-generatedSummary
Retrieve the chat message history for a specific contact identified by their unique 'user_ns'.
Inputs
- userNs (required) — Unique identifier of the contact (user_ns) whose chat history is to be fetched.
- limit — Maximum number of chat messages to return; defaults to 50 if not specified.
Output shape
A list of chat message objects representing the conversation history for the specified user_ns, limited by the 'limit' parameter.
The operation fetches up to the specified limit of messages from the chat history of the given user_ns. If any errors occur and 'Continue on Fail' is enabled, error details will be included in the output as objects with an 'error' property.