v1
latestOpenAPI 3.0.02026-07-26254134307.1 KBContacts
Create teammate contact
Create a contact for a teammate.
Required scope: contacts:write
post/teammates/{teammate_id}/contacts
Path parameters
teammate_idstring required
The teammate ID. Alternatively, you can supply an email as a resource alias.
Request body
Example request
{
"custom_fields": {
"city": "London, UK",
"isVIP": true,
"renewal_date": 1525417200,
"sla_time": 90,
"owner": "leela@planet-express.com",
"replyTo": "inb_55c8c149",
"Job Title": "firefighter"
},
"handles": [
{
"handle": "dwight@limitlesspaper.com",
"source": "email"
}
]
}Response
A contact
Example response
{
"_links": {
"self": "https://yourCompany.api.frontapp.com/contacts/crd_3cgz4ge\"",
"related": {
"notes": "https://yourCompany.api.frontapp.com/contacts/crd_3cgz4ge/notes",
"conversations": "https://yourCompany.api.frontapp.com/contacts/crd_3cgz4ge/conversations"
}
},
"id": "crd_3cgz4ge",
"name": "Dwight Schrute",
"description": "Assistant to the regional manager",
"avatar_url": "https://yourCompany.api.frontapp.com/contacts/crd_3cgz4ge/avatar-1673436467707",
"groups": [
{
"_links": {
"self": "https://yourCompany.api.frontapp.com/contact_lists/grp_3j342",
"related": {
"contacts": "https://yourCompany.api.frontapp.com/contact_lists/grp_3j342/contacts",
"owner": "https://yourCompany.api.frontapp.com/teammates/tea_e35u"
}
},
"id": "grp_3j342",
"name": "Party Planning Committee"
}
],
"lists": [
{
"_links": {
"self": "https://yourCompany.api.frontapp.com/contact_lists/grp_3j342",
"related": {
"contacts": "https://yourCompany.api.frontapp.com/contact_lists/grp_3j342/contacts",
"owner": "https://yourCompany.api.frontapp.com/teammates/tea_e35u"
}
},
"id": "grp_3j342",
"name": "Party Planning Committee"
}
],
"handles": [
{
"handle": "dwight@limitlesspaper.com",
"source": "email"
}
],
"custom_fields": {
"city": "London, UK",
"isVIP": true,
"renewal_date": 1525417200,
"sla_time": 90,
"owner": "leela@planet-express.com",
"replyTo": "inb_55c8c149",
"Job Title": "firefighter"
},
"is_private": true
}