NexSDK
    Preparing search index...

    Interface SetCommunicationPreferenceRequest

    One decision about one channel/category pair.

    Deliberately not a bulk PUT of the whole grid. A client that posts every pair it knows about would silently revert any preference recorded by a channel it has not been taught about yet — an SMS STOP, or an admin acting on a phone call — and the person would be re-enrolled in something they refused, by a UI that never showed it.

    interface SetCommunicationPreferenceRequest {
        category: string;
        channel: string;
        opted_in: boolean;
    }
    Index

    Properties

    category: string

    transactional | operational | marketing

    channel: string

    whatsapp | sms | email | push

    opted_in: boolean