Skip to main content
Devphoenix
Active Contributor III
Active Contributor III
June 28, 2023
Solved

How to identify which contact(profile) is subscribed or not subscribed one?

  • June 28, 2023
  • 3 replies
  • 296 views

Hi Team,

I have a use case related to the {{baseUrl}}/api/profiles/ endpoint. How can we identify which profiles are subscribed and which ones are not? Also, is it possible to fetch only the profiles from a specific list?

This topic has been closed for replies.
Best answer by Brian Turcotte

Hi @Devphoenix!

At this time, subscription status is not a valid field operator for filtering this endpoint - so that filter would have to be programmatically applied at your end. I will certainly forward this request to our Product team for consideration in future releases, however.

 

Best,

Brian

3 replies

Brian Turcotte
Klaviyo Alum
June 28, 2023

Hi @Devphoenix!
 

The subscription status of each profile will be displayed in the body of the response to a Get Profiles call. Example:

 

To get all the profiles in a List, simply use the Get List Profiles endpoint:

 

I hope this helps, and thanks for using the Community!

- Brian

Devphoenix
Active Contributor III
Active Contributor III
June 30, 2023

Hi @Brian Turcotte,

Thank you for your response. We have a use case where we need to display all the details of only subscribed profiles. This means we need to filter the Get List Profiles API response to only include subscribed profiles and their associated data.

Thanks

Gourav Gupta
Brian Turcotte
Klaviyo Alum
June 30, 2023

Hi @Devphoenix!

At this time, subscription status is not a valid field operator for filtering this endpoint - so that filter would have to be programmatically applied at your end. I will certainly forward this request to our Product team for consideration in future releases, however.

 

Best,

Brian