Contact → Get All
AI-generatedSummary
Retrieve all contacts or a limited subset from the WapiWay WhatsApp Business API.
Inputs
- Return All — Choose whether to return all contacts available or only up to the specified limit.
- Limit — Specify the maximum number of contacts to return when 'Return All' is false (minimum 1, maximum 100, default 20).
Output shape
a list of contact objects retrieved from the WapiWay API
If 'Return All' is true, up to 100 contacts are returned; otherwise, the number of contacts returned respects the specified limit. Each contact corresponds to one item in the returned array. The node returns an array of JSON objects representing contacts, or an error object if the request fails and 'Continue On Fail' is enabled.
Examples
Example 1: Retrieve first 20 contacts
Set 'Return All' to false and 'Limit' to 20 to get up to 20 contacts.
Example 2: Retrieve all contacts
Set 'Return All' to true to fetch up to 100 contacts (the API maximum).