sudomanaged
New Member
Hi MailWizz Community,
I’m currently trying to add subscribers to a MailWizz list via the API but keep getting the error:
Invalid API request params. Please refer to the documentation.
Here is the setup:
API Version: Using the latest version (confirmed via MailWizz documentation)
API Endpoint: /api/lists/<listUid>/subscribers
Parameters: Sending the request with the following fields:
subscribers[0]: bob@biller.com
subscribers[0][FNAME]: Bob
subscribers[0][LNAME]: Biller
listUid: Verified (the list exists)
API Key: (Note: This will not be shared for security reasons)
Code Example (Curl Request):
curl -X POST "https://oss.sudomanaged.com/api/lists/<listUid>/subscribers" \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "X-MW-API-KEY: YOUR_API_KEY" \
--data-urlencode "subscribers[0]=bob@biller.com" \
--data-urlencode "subscribers[0][FNAME]=Bob" \
--data-urlencode "subscribers[0][LNAME]=Biller"
Thanks in advance for your help!
I’m currently trying to add subscribers to a MailWizz list via the API but keep getting the error:
Invalid API request params. Please refer to the documentation.
Here is the setup:
API Version: Using the latest version (confirmed via MailWizz documentation)
API Endpoint: /api/lists/<listUid>/subscribers
Parameters: Sending the request with the following fields:
subscribers[0]: bob@biller.com
subscribers[0][FNAME]: Bob
subscribers[0][LNAME]: Biller
listUid: Verified (the list exists)
API Key: (Note: This will not be shared for security reasons)
Code Example (Curl Request):
curl -X POST "https://oss.sudomanaged.com/api/lists/<listUid>/subscribers" \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "X-MW-API-KEY: YOUR_API_KEY" \
--data-urlencode "subscribers[0]=bob@biller.com" \
--data-urlencode "subscribers[0][FNAME]=Bob" \
--data-urlencode "subscribers[0][LNAME]=Biller"
What I have tried:
- Ensured the listUid is correct and exists.
- Verified the MailWizz API key has the correct permissions.
- Tried simplifying the data (only sending EMAIL, FNAME, LNAME).
- Ensured MySQL configured to accept API server requests
- Checked the MailWizz logs (no clear indication on the server side).
Thanks in advance for your help!
Last edited: