curl --request PUT \
--url https://api.monaco.com/v1/contacts/ \
--header 'Content-Type: application/json' \
--data '
{
"email": "jane@acme.com",
"linkedin_url": "https://linkedin.com/in/janesmith",
"first_name": "Jane",
"last_name": "Smith",
"title": "VP of Engineering",
"phone_number": "+1-415-555-0132",
"location": "San Francisco, CA",
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"domain": "acme.com",
"do_not_contact": false,
"tags": [
"550e8400-e29b-41d4-a716-446655440001"
],
"custom_field_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d": "economic_buyer"
}
'{
"data": {
"id": "con_abc123",
"account_id": "acc_def456",
"account_name": "Acme Corp",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane@acme.com",
"title": "VP of Engineering",
"phone_number": "+1-415-555-0132",
"linkedin_url": "https://linkedin.com/in/janesmith",
"location": "San Francisco, CA",
"source": "api",
"do_not_contact": false,
"notes": "Met at SaaStr 2025",
"scoring": {
"heat_score": "Hot"
},
"tags": [
"Decision Maker"
],
"created_at": "2025-06-15T10:30:00Z",
"updated_at": "2026-04-21T12:00:00Z",
"custom_field_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d": "economic_buyer",
"enrichment_status": "enriched"
},
"meta": {
"timestamp": "2026-04-21T12:00:00Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found",
"data": {}
}
}Upsert a Contact
Creates a new contact or updates an existing one.
Identifiers — with only linkedin_url, also pass account_id or domain.
Duplicate resolution — matched against existing contacts by email (case-insensitive), then linkedin_url. A match is updated in place, otherwise a contact is created. Unlike POST /contacts, a duplicate identifier is not a 409. The exception: if the identifiers resolve to two different contacts on the same account, neither can be updated and a 409 is returned.
Update by id — with id, that contact is updated as on PATCH /v1/contacts/ and never created; an unknown id returns 404. This is how to change a contact’s email. Null fields are left unchanged; list fields to clear in clear_fields. account_id, domain, location and is_inbound are not accepted with id.
Account resolution priority — when creating: account_id, then domain, then the domain parsed from email.
Enrichment — creating a contact synchronously enriches it and resolves or creates its account, so those requests can take several seconds. Use generous timeouts (10s+) and keep upserts off hot paths.
curl --request PUT \
--url https://api.monaco.com/v1/contacts/ \
--header 'Content-Type: application/json' \
--data '
{
"email": "jane@acme.com",
"linkedin_url": "https://linkedin.com/in/janesmith",
"first_name": "Jane",
"last_name": "Smith",
"title": "VP of Engineering",
"phone_number": "+1-415-555-0132",
"location": "San Francisco, CA",
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"domain": "acme.com",
"do_not_contact": false,
"tags": [
"550e8400-e29b-41d4-a716-446655440001"
],
"custom_field_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d": "economic_buyer"
}
'{
"data": {
"id": "con_abc123",
"account_id": "acc_def456",
"account_name": "Acme Corp",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane@acme.com",
"title": "VP of Engineering",
"phone_number": "+1-415-555-0132",
"linkedin_url": "https://linkedin.com/in/janesmith",
"location": "San Francisco, CA",
"source": "api",
"do_not_contact": false,
"notes": "Met at SaaStr 2025",
"scoring": {
"heat_score": "Hot"
},
"tags": [
"Decision Maker"
],
"created_at": "2025-06-15T10:30:00Z",
"updated_at": "2026-04-21T12:00:00Z",
"custom_field_1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d": "economic_buyer",
"enrichment_status": "enriched"
},
"meta": {
"timestamp": "2026-04-21T12:00:00Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found",
"data": {}
}
}Body
Request body for upserting a contact, by email/linkedin_url or by id.