Create additional contact
Use case
Here we will cover how to add additional contacts to a legal person that can be used to reach out to different departments like accounting, fraud, risk etc. We will add fraud department contacts to New company Ltd.
The personId of the legal person New company Ltd is ID-3394
.
...persons/ID-3394/additional-contact
The contact type code is the fraud department.
"contactTypeCode": "FRAUD_CONTACT"
The description of the contact type.
"description": "Contacts for fraud department"
The email of the contact.
"email": "[email protected]"
The phone number of the contact.
"phoneNumber": "0901820"
The country code of the phone number.
"phoneCountryCode": "+49"
Sample API call
To add additional contact to the person, make the following API call.
https://person-api.sandbox.tuumplatform.com/api/v2/persons/ID-3394/additional-contacts
Sample request
Below is an example request body of the API call for creating additional contacts.
{
"contactTypeCode": "FRAUD_CONTACT",
"description": "Contacts for fraud department",
"email": "[email protected]",
"phoneNumber": "0901820",
"phoneCountryCode": "+49"
}
Sample response
Here you find an example response body to the API call above.
Result
A new fraud department contact is added to the person.
Last updated
Was this helpful?