Copy Pagefetch messages from a chatpost https://waapi.app/api/v1/instances/{id}/client/action/fetch-messagesRetrieve messages from a specific chat with optional filtering and media inclusionRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path Paramsidint64requiredInstance IDBody ParamschatIdstringrequiredChat ID <countrycode_short>@c.us or @g.us for groupslimitintegerDefaults to 100Maximum number of messages to returnoffsetintegerDefaults to 0Offset to start fetching messages fromfromMebooleanDefaults to nullFilter messages by sender (true = sent by me, false = received, null = both)falsetruefalseincludeMediabooleanDefaults to falseInclude media content as base64 encoded strings. Warning: Can significantly increase response sizefalsetruefalseResponses 200Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation. Payload: Successfully retrieved messages. 401Unauthorized — invalid or missing bearer token 403Forbidden — insufficient permissions or account blocked 404Not found — instance does not exist or does not belong to you 409Conflict — instance is not ready 422Validation error — invalid or missing request parameters 429Too many requests — rate limit exceededUpdated 6 months ago Did this page help you?YesNo