Get Contact Details
GET/api/accounts/:accountId/contact-details
Get contact details for the account.
Request
Path Parameters
accountId stringrequired
Account ID for the contact channel
Responses
- 200
- 400
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
email
object
accountId stringrequired
createdAt date-timerequired
modifiedAt date-timerequired
emailAddress stringrequired
phone
object
accountId stringrequired
createdAt date-timerequired
modifiedAt date-timerequired
phoneNumber stringrequired
{
"email": {
"accountId": "9b7552cf9abab0f2efed72df6b3ce4bc",
"createdAt": "2024-11-15T17:24:12.453Z",
"modifiedAt": "2024-11-15T17:24:12.453Z",
"emailAddress": "joe@joecardholder.com"
},
"phone": {
"accountId": "9b7552cf9abab0f2efed72df6b3ce4bc",
"createdAt": "2024-11-15T17:24:12.453Z",
"modifiedAt": "2024-11-15T17:24:12.453Z",
"phoneNumber": "+1234567890"
}
}
Request fields are invalid
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
statusName stringrequired
errorCode stringrequired
errors string[]
{
"statusCode": 400,
"statusName": "Bad Request",
"errorCode": "BAD_REQUEST",
"errors": [
"Expected string, received number"
]
}
No Authorization to access resource.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
statusName stringrequired
errorCode stringrequired
reason string
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}
Loading...