Clear Opted out for a Channel
Clears Opted out for the Subscription's Contact on the given Channel (push in V1). Requires a matching subscription_credential (credential-less Endpoints return 401). Inactive Subscriptions return 409 (`subscription_inactive`).
Clears Opted out for the Subscription's Contact on the given Channel (push in V1).
Requires a matching subscription_credential (credential-less Endpoints return 401).
Inactive Subscriptions return 409 (subscription_inactive).
mobileAppIdX-ComRaid-App-Id<token>Publishable mobile app id (cr_app_...)
id*stringuuidapplication/json- body
subscription_credential*stringchannel?"push""push""push"Opted in
application/json- response
subscription_id*stringuuidcontact_id*stringuuidchannel*"push""push"opted_out*booleancurl -X POST 'https://api.comraid.io/mobile/subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/opt-in' \ -H 'Content-Type: application/json' \ -d '{ "subscription_credential": "string"}'{ "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627", "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598", "channel": "push", "opted_out": true}Opt the Contact out of a Channel POST
Records Opted out for the Subscription's Contact on the given Channel (push in V1). Requires a matching subscription_credential (credential-less Endpoints return 401). Inactive Subscriptions return 409 (`subscription_inactive`).
Upsert Contact Attributes for a logged-in Subscription PUT
Upserts Attributes on the Subscription's Contact. Requires App ID auth and a valid subscription credential (credential-less Endpoints return 401). Inactive Subscriptions return 409 (`subscription_inactive`). The Contact must be logged in (have an external_user_id); anonymous Subscriptions are rejected. JWT is not accepted on this call — use Login first. Same attribute upsert semantics as PUT /contacts/{external_user_id}/attributes, including JSON `null` to remove an Attribute.