Search subscriptions
trumpia_search_subscriptionsFind subscription ids by email, mobile number, landline, country code, created date, first name or last name; optionally within one list. search_data 'all' returns every subscription that has data of that type. Returns ids; use trumpia_get_subscription for details. GET /subscription/search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number from 1 (default 1). | |
| list_id | No | Limit the search to this distribution list. | |
| row_size | No | Ids per page, 100-10000 (default 100). | |
| search_data | Yes | The value to find, or 'all' (every subscription that has data of that type; email, mobile and landline only). For search_type created_date a range is required: 'YYYY-MM-DD hh:mm:ss~YYYY-MM-DD hh:mm:ss', e.g. '2026-03-01 00:00:00~2026-04-01 00:00:00'. | |
| search_type | Yes | Which field to search. |