-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Possibility to subscribe and existing user to another list #927
Comments
You can use the subscription management API to manage subscriber lists. I just realised that this is not in the docs. Will add.
An optional |
@knadh thanks for the quick reply. I assume the first mentioned API doesn't trigger opt-in send out? |
Ah, that's right. Bulk management does not trigger opt-in e-mails. |
When I attempt to send a
Do I need to enable these endpoints? |
Ah. I think, according to the code. It's expecting |
Oh. Also, it looks like the field that you called "subscriber_ids" above is actually just called "ids" |
And finally, it looks like |
@knadh, I thought about forking and contributing the documentation update that would advertise these API endpoints. But, I think the docs must be in another repository. Is it public? |
Whoops.
That would be very helpful. The repo is at https://github.com/knadh/listmonk-site |
There are 2 private lists:
newsletter
waiting list for a product
Currently, if a user is subscribed to the
newsletter
, there is no way (at least I know of) to subscribe him to thewaiting list
without changing it directly in database or deleting the subscription and creating it again.As of v2.2.0 sending a POST to
/api/subscribers
results in409 Conflict: Email already exists
if the email is already in any other list. I think in this situation, the correct answer would be to adding him to the list.The text was updated successfully, but these errors were encountered: