diff --git a/index.html b/index.html
index dd77bd4..99dcf30 100644
--- a/index.html
+++ b/index.html
@@ -868,10 +868,10 @@ document.getElementById('newsletter-form').addEventListener('submit', async func
submitBtn.disabled = true;
try {
- const response = await fetch(LISTMONK_URL + '/subscription/form', {
+ const response = await fetch(LISTMONK_URL + '/api/public/subscription', {
method: 'POST',
- headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
- body: new URLSearchParams({ email: email, list: LIST_UUID, name: '' }),
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ email: email, list_uuids: [LIST_UUID] }),
});
if (response.ok) {