Tool name: search-contacts
Searches contact email and SMS channels by address, status, channel or tag (manual or smart tag), paginated by cursor. A contact with both channels appears twice. Phone queries need a country code; contact fields are available through get-contact.
Case-insensitive fragment of an email address, or a mobile number with its country code; omit to match every contact
Default:null
Subscription status to filter by; omit for every status
Default:null
Enum:"pending""optin""subscribed""unsubscribed"
ID of a tag of the account the returned contacts must have, manual or smart tag
Default:null
Restrict to one channel, email or sms; omit for both
Default:null
Enum:"email""sms"
Opaque nextCursor value of the previous result page; omit for the first page
Default:null
Input example
{ "query": null, "status": "pending", "tagId": null, "channel": "email", "cursor": null, "pageSize": 25, "accountId": null }
Output example
{ "accountId": 0, "pageSize": 0, "count": 0, "hasMore": true, "nextCursor": "string", "contacts": [ { "contactId": 0, "channel": "email", "contactInfo": "string", "email": "string", "subscriptionStatus": "string", "editUrl": "string" } ] }