Method
POST /v1/people
Body Parameters
Headers
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)application/json
curl -X POST https://api.voyantcloud.com/v1/people \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"firstName": "Ana",
"lastName": "Ionescu",
"emails": ["[email protected]"],
"phones": ["+40700000000"],
"country": "RO"
}'
{
"id": "p_123",
"firstName": "Ana",
"lastName": "Ionescu",
"defaultEmail": "[email protected]"
}
Create a new person (customer/contact) in your workspace.
POST /v1/people
Authorization: Bearer YOUR_API_KEY)curl -X POST https://api.voyantcloud.com/v1/people \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"firstName": "Ana",
"lastName": "Ionescu",
"emails": ["[email protected]"],
"phones": ["+40700000000"],
"country": "RO"
}'
{
"id": "p_123",
"firstName": "Ana",
"lastName": "Ionescu",
"defaultEmail": "[email protected]"
}