Skip to main content
Solved

How to get subscriber info (ID)

  • May 28, 2024
  • 3 replies
  • 485 views

Pavel Bieloienko

Hello ManyChat Community,

I am encountering an issue with finding existing contacts using the API. My contacts are registered with their WhatsApp phone numbers, and I believe the system field to query is WhatsApp Phone.

How can I properly query these contacts using the API?

Thank you for your assistance!

Best answer by Gustavo Boregio

I’ve solved this in one of 2 ways:

  • Also set the phone number with the Whatsapp number, so I can query by phone
  • Or set a custom field with the Whatsapp number, so I can query by custom field

It’s a workaround, but it gets the job done.

Hope this helps!

3 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • Answer
  • May 28, 2024

I’ve solved this in one of 2 ways:

  • Also set the phone number with the Whatsapp number, so I can query by phone
  • Or set a custom field with the Whatsapp number, so I can query by custom field

It’s a workaround, but it gets the job done.

Hope this helps!


Pavel Bieloienko

Thank you for your response.

However, in ManyChat, I already have a large database of subscribers, and many of them have the status "unsubscribed". I want to retrieve their ID if they contact me again.

In ManyChat, it is possible to export custom fields to system fields, but not the other way around. As a result, I cannot export system fields to custom fields to resolve the issue.

 

Are there any other options available?

Thank you in advance.


Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • May 28, 2024

You can use Manychat’s API to extract System Fields and set them to custom fields or export them.