Using the client contact id in the request path, the method creates the contact's email address.
POST
/client-contacts/{clientContactId}/email-addresses
curl \
--request POST 'http://api.example.com/client-contacts/{clientContactId}/email-addresses' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"typeCode":"string","address":"string"}'
Request example
{
"typeCode": "string",
"address": "string"
}
Response examples (201)
{}
Response examples (404)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}
Response examples (409)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}