How to Check and Manage Text Message Marketing Subscriptions via API

Hi Square Team,

I hope you’re doing well! I have a question regarding the Customer API.

I understand that I can use the Square Customer API to check whether a customer is subscribed to email marketing.

Is there also a way to check through the API if a customer is subscribed to text message marketing?

Additionally, if a customer unsubscribes from text message marketing, what is the recommended way for a merchant to provide the customer with an option to re-subscribe?

Thanks a lot for your guidance!

Best regards,
Murphy

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

App Subscriptions Billing
App Marketplace Frequently Asked Questions
Use Customer Webhooks

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Hi Murphy,

Thank you for reaching out with your question!

Regarding your first query, the Square Customers API provides the email_unsubscribed field to check if a customer has unsubscribed from email marketing. However, the API does not currently support a similar field for text message marketing subscriptions. Therefore, you cannot directly check a customer’s subscription status for text message marketing through the API.

As for your second question, if a customer unsubscribes from text message marketing, the recommended approach for a merchant to allow the customer to re-subscribe would be to provide a clear and easy opt-in process. This could be done through your app or website by offering a form or a button that customers can use to re-subscribe. Ensure that this process complies with any relevant regulations regarding marketing communications and customer consent.

I hope this helps! If you have any more questions, feel free to ask.

Best regards,
[Your Name]

This answer was reviewed by @Bryan-Square.

Hi Square Team,

Thank you again for your help! I have a follow-up question regarding text message marketing subscriptions.

From which sources can I check whether a customer is currently subscribed to text message marketing? I need to know the subscription status in order to recommend that a customer re-subscribe if they’ve opted out.

Additionally, if a customer agrees to re-subscribe to text message marketing, which API should I use to enable their subscription again?

I really appreciate your guidance on this!

Best regards,

Murphy

At this time the ability to know whether or not a customer is subscribed to text message marketing with the API isn’t currently available with our API. :slight_smile:

Hi Square Team,

Thank you for clarifying my previous question. I now understand that it isn’t possible to check a customer’s text message marketing subscription status through the API.

May I ask:

  1. Can I use Customer Groups or Customer Segments to mark whether a customer is subscribed to text message marketing?

  2. Is there an API I can use to enable text message marketing subscriptions for a customer?

Thanks again for your guidance—I really appreciate your support!

Best regards,

Murphy

Currently, there isn’t a way to programmatically enable text message marketing. If your tracking the customers marketing status yourself then yes you can use Groups or Customer Segments to separate customers. But again this would be something that your application would have to track. :slight_smile: