Get Notification Contact List
get
/apis/notification-contact-v1/{utilityCode}/customers/{id}/notification_contacts
Retrieves Notification Contacts
Request
Path Parameters
-
id(required): integer
The single-tenant id for the customer (e.g. `1`).
-
utilityCode(required): string
The 3 or 4 digit code for the utility company (e.g. `TEST`).
Header Parameters
-
Authorization(required): string
The authorization header (e.g. `Authorization: Bearer $YOUR_TOKEN`).
Response
Supported Media Types
- application/json
200 Response
The returned notification contacts belong to the requested entity.
Nested Schema : NotificationContactRequest
Type:
Show Source
object
-
email:
string
The email address for the notification contact
-
name(required):
string
The name of the notification contact
-
phoneSMS:
string
The phone number for the notification contact on the SMS channel
-
phoneVoice:
string
The phone number for the notification contact on the IVR channel
-
push:
boolean
Whether or not this notification contact can have push notifications sent to them
Example:
{
"name":"Jane Doe",
"email":"jane.doe@example.com",
"phoneSMS":"555-123-1234",
"phoneVoice":"555-123-1234",
"push":true
}
Nested Schema : response-allOf[1]
Type:
Show Source
object
-
id(required):
integer
-
primary(required):
boolean
Whether or not this notification contact is the primary contact for a customer
Example:
{
"id":1,
"name":"Jane Doe",
"email":"jane.doe@example.com",
"phoneSMS":"555-123-1234",
"phoneVoice":"555-123-1234",
"primary":false
}
400 Response
An error occurred processing the request. See the response body for more information.
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.
401 Response
An error occurred processing the request. See the response body for more information.
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.
404 Response
An error occurred processing the request. See the response body for more information.
Root Schema : ErrorResponse
Type:
Show Source
object
-
details:
string
Details about the error.
-
errorMessage:
string
Short failure explanation.
-
httpStatus:
integer
Minimum Value:
100
Maximum Value:600
The HTTP status code for the error. -
serviceErrorCode:
string
An error code for the error.