JustCall icon

JustCall

Interact with JustCall API (Calls, SMS, Contacts, Phone Numbers, AI Voice Agents, Sales Dialer, JustCall AI)

SMS → Get Many

AI-generated

Summary

Fetch SMS messages from JustCall with optional filters and pagination control.

Inputs

  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return, min 1, default 50. Shown when returnAll is false.
  • additionalFilters — Optional filters to narrow the result set, shown always for getMany operation.

Output shape

Array of SMS message objects from the JustCall API, respecting pagination and filter settings.

When returnAll is true, the node paginates through all available pages (default per-page cap 100, or 20 for JustCall AI–related endpoints). When false, a single API request is made with per-page set to the limit value. Filters contact_id, date_from, date_to, from_number, and to_number are passed as query parameters to the /v2.1/texts endpoint.

Examples

Example 1: Retrieve up to 20 recent SMS messages

returnAll: false, limit: 20

Example 2: Retrieve all SMS messages from a specific contact

returnAll: true, additionalFilters: { contact_id: 'c12345' }

Links

Discussion