Skip to main content

Hello,

 

I am working on Klaviyo integration and testing it. I’ve been testing this use case:

  1. Customer adds email for subscription. Call /client/subscriptions API.
  2. Customer gets email for confirmation. After confirm, email is seen in the list.
  3. Customer unsubscribes by unchecking option in our ecommerce website. System in the background calls API bulk unsubscribe profiles,
  4. Email is unsubscribed in the Klaviyo system.
  5. Then I try again to subscribe via /client/subscriptions API with the same email. 
  6. I do not get confirmation email.

Is there a rate limit or something else? How often customers can subscribe/unsubscribe so this works OK? Is there something I am not aware of?

I see someone experienced a similar issue here 

I actually tried both ways:

client/subscriptions API for subscription

bulk unsubscribe profile API for unsubscribe
bulk subscribe profile API for subscribe (didn’t do anything)
client/subscriptions API for subscribe (didn’t do anything)


Seems that bulk subscribe profile API (or client/subscriptions API) is available only after some period of time after user unsubscribes. What is that time frame when user can resubscribe? Apparently, it can’t be done IMMEDIATELY after unsubscribe.


Hi ​@giedriusr - a new subscribed event will not occur if there is one within 30 minutes. So, if the subscribe/unsubscribe/subscribe occur within 30 minutes, the second subscribe will not be processed.


Thank you for your quick response. As both endpoints work in this case (as far as I understood), what is best practice to call re-subscribe and what do you recommend?

  1. Subscribe /client/subscriptions
  2. Unsubscribe /api/api/profile-subscription-bulk-delete-jobs
  3. … more than 30 minutes afterwards
  4. Re-subscribe /api/profile-subscription-bulk-create-jobs OR /client/subscriptions

And another thing. 30 minute window time frame is applicable only to double opt-in subscriptions? When LIST has no confirmation settings, I see that 30 minutes is ignored and user is resubscribed immediately.


Reply