# How to get an array of subscribed contacts from Wix Contacts CRM

**URL:** <https://forum.wixstudio.com/t/how-to-get-an-array-of-subscribed-contacts-from-wix-contacts-crm/63287>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [October 4, 2024, 12:29pm UTC](https://forum.wixstudio.com/t/how-to-get-an-array-of-subscribed-contacts-from-wix-contacts-crm/63287 "2024-10-04T12:29:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [October 9, 2024, 3:51pm UTC](https://forum.wixstudio.com/t/how-to-get-an-array-of-subscribed-contacts-from-wix-contacts-crm/63287/5 "2024-10-09T15:51:11Z")

</div>

We will do a TIME-JUMP back to the past…

> [@Querying the custom member fields](https://forum.wixstudio.com/t/querying-the-custom-member-fields/5688/2):
>
> The member profile information is saved in a different collection from the PrivateMembersData . To have acces to it, you should use [WIX CRM Backend API](https://www.wix.com/velo/reference/wix-crm-backend) . So, you need to create a backend file (you can call it anything you want, for ex: members.jsw ), and in there you are going to create a simple function to be exported to your frontend code, like this: //This imports the contacts object from the API import { contacts } from 'wix-crm-backend' //This options allows you to access the data let…

This also maybe could give you more informations…

> [@Get user subscription through REST API endpoint](https://forum.wixstudio.com/t/get-user-subscription-through-rest-api-endpoint/6886/6):
>
> Hey again, the API I am using is [this](https://www.wix.com/velo/reference/wix-crm-backend/contacts/querycontacts) which I believe is a Velo API. I managed to get some data from the query, however I resorted to creating a webhook which listens for a purchase or cancellation of a plan after which I add that data to my own custom table. This way I have more detailed information on the subscription. Regarding the abuse I know that even Netflix cannot handle this issue, although I was wondering if there is a restriction which can applied to IP addresses so you limit the n…

And here, this one deals also with SUBSCRIPTION-STATUS…

> [@How to get the email subscription status of a member/contact and display it on the website](https://forum.wixstudio.com/t/how-to-get-the-email-subscription-status-of-a-member-contact-and-display-it-on-the-website/55075):
>
> Question: How to get the email subscription status of a member/contact and display it on the website either with a text element or with an input element (like a switch or checkbox) Product: Wix Studio Editor What are you trying to achieve: So I want to display the current subscription status to email marketing (subscribed, unsubscribed, never subscribed) of the current member/contact on a page on my website. I am unable to access that value through Velo. Here is my code to which I would lik…

In the past it was easier, now there are things like …

1. ELEVATE-FUNCTIONS
2. webMethod(Permissions.Anyone, () =\> {});
3. and still old versions, like —\>

```javascript
const options = {
    suppressAuth: true
  };

```

Check all these options / functions to get maybe right permission.

You have your code in front of you → use more console-logs and inspect every little step.

And this one also maybe interesting…

> [@Writing to Contacts to change subscriptionStatus](https://forum.wixstudio.com/t/writing-to-contacts-to-change-subscriptionstatus/55009):
>
> Happy New Year everyone! I have a large number of users in a database on non-Wix site and have authorization to email them. I am importing the dB to Wix and want to be able to set subscriptionStatus in the Contacts collection, so my client can use the Wix tools for email marketing. I am using Wix Studio to test how this works at the moment and am adding a Contact with this object: This is my back end code - a self contained block that I trigger from the front end by calling the function. I pu…

---

_[View the full topic](https://forum.wixstudio.com/t/how-to-get-an-array-of-subscribed-contacts-from-wix-contacts-crm/63287)._
