You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oye has created an API requests that provides contact information and update their SMS subscription preferences. The
requests require an authorization bearer token to access the contacts (secret provided by the Oye team).
We need an async method that periodically syncs Oye contact sms preferences with the suma member sms preferences. It will find members through their phone number and then sync their sms preferences status. We sync preferences this direction because members main way to opt out is through sending an Oye sms message "STOP" to any marketing message.
Going the other direction, when a suma member updates their marketing preferences on the app, a PATCH request will be sent to the Oye API to sync the contact status.
This keeps sms preferences in sync between suma members and their matching Oye contact.
Changes required:
Create async method to sync every x amount of time
use both oye fetch/update api endpoints to sync contact sms preferences between both apps/orgs
Create stub requests to test above endpoints
Update member sms preferences
review, and try to improve/refactor when at a good stopping point
Update preferences page to allow marketing SubscriptionGroup to editable_state: "on"
Production: update existing member sms marketing SubscriptionGroup to editable_state: "on"
The text was updated successfully, but these errors were encountered:
Oye has created an API requests that provides contact information and update their SMS subscription preferences. The
requests require an authorization bearer token to access the contacts (secret provided by the Oye team).
GET https://app.oyetext.org/api/v1/contacts
Response example:
PUT request https://app.oyetext.org/api/v1/contacts/bulk_update
Request body example:
Response example:
We need an async method that periodically syncs Oye contact sms preferences with the suma member sms preferences. It will find members through their phone number and then sync their sms preferences status. We sync preferences this direction because members main way to opt out is through sending an Oye sms message "STOP" to any marketing message.
Going the other direction, when a suma member updates their marketing preferences on the app, a PATCH request will be sent to the Oye API to sync the contact status.
This keeps sms preferences in sync between suma members and their matching Oye contact.
Changes required:
preferences
page to allow marketing SubscriptionGroup to editable_state: "on"The text was updated successfully, but these errors were encountered: