Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).type and value are needed. normalizedValue is set to value when you leave it out.isPrimary = true the new detail becomes the main one of its type, and the contact's other details of that type stop being primary.Phone for SMS, Email for e-mail, Viber for Viber, WhatsApp for WhatsApp.data[0] is the id of the new detail.Authorization: Bearer ********************data[0] is its id.curl --location 'https://api.veloconnect.me/api/v2/contacts/1042/details' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "Viber",
"value": "+37491234567",
"label": "Mobile",
"isPrimary": true,
"isVerified": false,
"status": "Active"
}'{
"data": [
3312
]
}