Closed
Description
The exact number of pages seems to vary, but calling this function is very slow and eventually causes the API to throw a 429 error for an account with lots of subscribers, because it queries the API for all subscribers and searches the results instead of searching the API directly for the provided email.
It is possible to search by email when listing subscribers using the email_address
parameter according to https://developers.convertkit.com/#list-subscribers
Adding the email_address
parameter to $options
in get_subscriber_id()
should fix this issue.
Metadata
Metadata
Assignees
Labels
No labels