Open TylerMatteo opened 2 weeks ago
Add the following functionality to the endpoint built in #1544
subscriptions
K01
K02
CW
1
0
{ "email": "test@example.com", "subscriptions": { "K01": 1, "M01": 1, "CW": 1 } }
Dependent on #1560
Add the following functionality to the endpoint built in #1544
subscriptions
object to the request body that can have properties for each of the 60 subscription topics.K01
,K02
, etc). For citywide, useCW
.1
to indicate a subscription1
on contact creation0
for the corresponding environment for the user on contact creationExample of the expected request body for a user subscribing to districts K01, M01, and citywide: