Update a contact
Update a contact by ID.
PATCH
/
api
/
teams
/
{teamId}
/
contacts
/
{contactId}
curl --request PATCH \
--url https://firstquadrant.ai/api/teams/{teamId}/contacts/{contactId} \
--header 'Bearer API key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Anand Chowdhary",
"nickname": "Anand",
"bio": "Founder, CTO, CPO of FirstQuadrant. GitHub Star, Forbes 30 Under 30, Y Combinator.",
"avatar": "https://firstquadrant.ai/avatar.jpg",
"website": "https://firstquadrant.ai",
"location": "San Francisco, CA, USA",
"timeZone": "America/Los_Angeles",
"city": "San Francisco",
"state": "California",
"countryCode": "US",
"latitude": 37.7749,
"longitude": -122.4194,
"employmentTitle": "Chief Technology Officer",
"employmentSeniority": "c_suite"
}'
{
"id": "con_qxwVhUwAj3ijxWXstmCNvIII",
"createdAt": "2024-05-12T00:00:00.000Z",
"updatedAt": "2024-05-12T00:00:00.000Z",
"blockedAt": "2024-05-12T00:00:00.000Z",
"name": "Anand Chowdhary",
"nickname": "Anand",
"bio": "Founder, CTO, CPO of FirstQuadrant. GitHub Star, Forbes 30 Under 30, Y Combinator.",
"avatar": "https://firstquadrant.ai/avatar.jpg",
"website": "https://firstquadrant.ai",
"location": "San Francisco, CA, USA",
"timeZone": "America/Los_Angeles",
"city": "San Francisco",
"state": "California",
"countryCode": "US",
"latitude": 37.7749,
"longitude": -122.4194,
"employmentTitle": "Chief Technology Officer",
"employmentSeniority": "c_suite",
"companyId": "com_qxwVhUwAj3ijxWXstmCNvIII",
"rootContactId": "rcn_qxwVhUwAj3ijxWXstmCNvIII"
}
Authorizations
The API key used to authenticate requests, learn how to generate an API key on the Authentication page.
Path Parameters
Team ID, starting with tea_
Contact ID, starting with con_
Body
application/json
Response
200 - application/json
Contact object
The response is of type object
.
curl --request PATCH \
--url https://firstquadrant.ai/api/teams/{teamId}/contacts/{contactId} \
--header 'Bearer API key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Anand Chowdhary",
"nickname": "Anand",
"bio": "Founder, CTO, CPO of FirstQuadrant. GitHub Star, Forbes 30 Under 30, Y Combinator.",
"avatar": "https://firstquadrant.ai/avatar.jpg",
"website": "https://firstquadrant.ai",
"location": "San Francisco, CA, USA",
"timeZone": "America/Los_Angeles",
"city": "San Francisco",
"state": "California",
"countryCode": "US",
"latitude": 37.7749,
"longitude": -122.4194,
"employmentTitle": "Chief Technology Officer",
"employmentSeniority": "c_suite"
}'
{
"id": "con_qxwVhUwAj3ijxWXstmCNvIII",
"createdAt": "2024-05-12T00:00:00.000Z",
"updatedAt": "2024-05-12T00:00:00.000Z",
"blockedAt": "2024-05-12T00:00:00.000Z",
"name": "Anand Chowdhary",
"nickname": "Anand",
"bio": "Founder, CTO, CPO of FirstQuadrant. GitHub Star, Forbes 30 Under 30, Y Combinator.",
"avatar": "https://firstquadrant.ai/avatar.jpg",
"website": "https://firstquadrant.ai",
"location": "San Francisco, CA, USA",
"timeZone": "America/Los_Angeles",
"city": "San Francisco",
"state": "California",
"countryCode": "US",
"latitude": 37.7749,
"longitude": -122.4194,
"employmentTitle": "Chief Technology Officer",
"employmentSeniority": "c_suite",
"companyId": "com_qxwVhUwAj3ijxWXstmCNvIII",
"rootContactId": "rcn_qxwVhUwAj3ijxWXstmCNvIII"
}