Contact Preferences REST Endpoints
Contact Preferences
The Notification Contact resource represents the contact objects related to a customer. The Notification Preference resource represents a contact's preferences for Opower communications (e.g. High Bill Alert) and channels (e.g. email, SMS). The API allows you to view and manage Notification Contacts, Notification Preferences, and Notification Events
- Create NotificationContact
- Method: postPath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts
- Create NotificationPreference
- Method: postPath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences
- Delete NotificationChannel
- Method: deletePath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/channel/{notificationChannel}
- Delete NotificationContact
- Method: deletePath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}
- Delete NotificationPreference
- Method: deletePath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/{preferenceId}
- Get Notification Contact List
- Method: getPath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts
- Get NotificationPreference
- Method: getPath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences/{notificationChannel}/{eventType}
- Get NotificationPreference List
- Method: getPath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}/notification_preferences
- Update NotificationContact
- Method: putPath:
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts/{contactId}