latestSwagger 2.02026-08-101561322.2 MB
3e4029d19684
Contacts
Add a new contact
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Contacts/createContact" target="_blank">Try in sandbox</a><br>
post/api/v2/contacts/normalized
Request body
Example request
{
"firstName": "Charles",
"lastName": "Conway",
"phone": "447860021130",
"email": "charles@example.com",
"companyName": "Example Ltd.",
"lists": "10541,18599",
"type": 1,
"customFieldValues": [
{
"id": 515,
"userCustomFieldId": 515,
"name": "Custom name",
"value": "Custom value",
"createdAt": "2015-02-11T07:33:19+0000"
}
],
"country": "US",
"tags": [
23,
45
],
"owner": 2
}Response
Contact has been created with success.
Example response
{
"id": 515,
"href": "/api/v2/entity_name/1"
}