.png)
Fetch the contact methods for a given customer
ENDPOINTS
get
/v1/customers/{customerId}/contact-methods
Header parameters
Collapse
correlationId
string
required
UUID that uniquely identifies the request. This id allows the request to be traced through the entire request and response flow.
Authorization
string
required
Standard OAuth 2.0 access token. A string composed of 'Bearer' + '(space)' + '{token}'
Body parameters
Collapse
Query parameters
Collapse
userIdType
string
no
Unique identifier of user id type
Path parameters
Collapse
customerId
string
required
Unique identifier of financial institution customer
Responses
Collapse
200
Customer contact methods retrieved successfully
Response Body
{"customerId":"f744da820a2a4a68b246c8e6682728a7","contactMethods":[{"id":123310058,"telephoneCountryCode":1,"contactInfo":1234567890,"protocol":"SMS","isActivated":true,"enrolledDateTime":"2022-03-31T00:00:00.000Z"}]}
400
Bad Request
Response Body
{"status":0,"message":"string","code":"string"}
401
Unauthorized
Response Body
{"status":0,"message":"string","code":"string"}
403
Forbidden
Response Body
{"status":0,"message":"string","code":"string"}
404
User not found
Response Body
{"status":0,"message":"string","code":"string"}
500
Server error
Response Body
{"status":0,"message":"string","code":"string"}
curl -X 'GET' \
'https://api.candescent.com/digitalbanking/ux-users/v1/customers/{customerId}/contact-methods' \
-H 'authorization: Bearer 18FaavwuGejYXBhj7grtrP57ZbCX' \
-H 'correlationid: f8187c63-678f-4f0c-9263-46723794661a' \
-H 'accept: application/json' \
RESPONSE
{"customerId":"f744da820a2a4a68b246c8e6682728a7","contactMethods":[{"id":123310058,"telephoneCountryCode":1,"contactInfo":1234567890,"protocol":"SMS","isActivated":true,"enrolledDateTime":"2022-03-31T00:00:00.000Z"}]}
{"status":0,"message":"string","code":"string"}
{"status":0,"message":"string","code":"string"}
{"status":0,"message":"string","code":"string"}
{"status":0,"message":"string","code":"string"}
{"status":0,"message":"string","code":"string"}