Security
BearerAuth
See RFC 3986 for URI syntax.
Example:"https://avatar.example.com/john"
Email entries to add, update, or delete. Maximum 10 per contact. Duplicate email values (case-insensitive) are silently ignored.
Phone entries to add, update, or delete. Maximum 10 per contact. Duplicate phone values are silently ignored.
Web links keyed by subtype. One entry per subtype. Set a value to an empty string to delete that subtype entry.
- Production serverhttps://developer.setmore.com/api/v2/customers
curl -i -X POST \
https://developer.setmore.com/api/v2/customers \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"first_name": "John",
"last_name": "Doe",
"avatar_url": "https://avatar.example.com/john",
"email_addresses": [
{
"value": "primary@gmail.com",
"primary": true
},
{
"value": "secondary@gmail.com"
}
],
"phone_numbers": [
{
"value": "+919399339922",
"primary": true
},
{
"value": "+919399339923"
}
],
"urls": {
"meeting": "https://meet.example.com/john"
},
"social": {
"facebook": "https://facebook.com/john",
"linkedin": "https://linkedin.com/in/john"
},
"location": {
"address": "123 Main St",
"city": "Chennai"
},
"custom_fields": {
"DOB": "12/08/1999"
}
}'Response
{ "data": { "id": "eaafecfe-8c33-428a-88bd-ba4d012793aa", "first_name": "John", "last_name": "Doe", "avatar_url": "https://avatar.example.com/john", "phone_numbers": [ … ], "email_addresses": [ … ], "urls": { … }, "social": { … }, "location": { … }, "custom_fields": { … } } }