Hello,
I’m using The Newsletter Plugin with Newsletter API Extension, but I’m unable to perform some calls.
curl -X POST \
https://...../wp-json/newsletter/v1/subscribe \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"email": "test@email.it",
"api_key": "(my_api_key)",
"lists": [2]
}'
Performing a call like this, the subscriber is created but not added to the list #2.
The API Key is correctly added in the admin section, I double checked.
Am I doing something wrong? Any suggestion?
Thanks for your support.