Getting Started
Core Concepts
Core
- PUTUpsert customer
- GETList connections
- POSTCreate connection
- GETGet connection
- DELDelete connection
- PATCHUpdate connection
- POSTCheck connection
- POSTSync connection
- GETAdmin list connector configs
- POSTAdmin upsert connector config
- GETAdmin get connector config
- DELAdmin delete connector config
- PATCHAdmin update connector config
- GETList connector config infos
- GETList pipelines
- POSTCreate pipeline
- DELDelete pipeline
- PATCHUpdate pipeline
- POSTSync pipeline
Sales Engagement
CRM
- GETCount Entities
- GETList Accounts
- POSTCreate account
- GETGet Account
- PATCHUpdate account
- POSTBatch read accounts
- POSTUpsert account
- GETList Contacts
- POSTCreate contact
- GETGet Contact
- PATCHUpdate contact
- POSTBatch read contacts
- POSTUpsert contact
- GETList Leads
- GETGet Lead
- GETList Opportunities
- GETGet Opportunity
- GETList notes
- POSTCreate note
- GETList users
- GETGet user
- GETList custom object records
- POSTCreate custom object record
- GETMetadata list objects
- POSTMetadata create object
- GETMetadata list object properties
- POSTMetadata create object property
- POSTMetadata create association
Accounting
File Storage
API Reference
Sales Engagement
Upsert Contact
Sales Engagement
Upsert Contact
POST
/
unified
/
sales-engagement
/
contact
/
_upsert
curl --request POST \
--url https://api.openint.dev/v0/unified/sales-engagement/contact/_upsert \
--header 'Content-Type: application/json' \
--header 'x-apikey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '{
"record": {
"first_name": "James",
"last_name": "Smith",
"job_title": "CEO",
"address": {
"city": "San Francisco",
"country": "US",
"postal_code": "94107",
"state": "CA",
"street_1": "525 Brannan",
"street_2": null
},
"email_addresses": [
{
"email_address": "hello@revtron.ai",
"email_address_type": "work"
}
],
"phone_numbers": [
{
"phone_number": "+14151234567",
"phone_number_type": "work"
}
],
"owner_id": "9f3e97fd-4d5d-4efc-959d-bbebfac079f5",
"account_id": "ae4be028-9078-4850-a0bf-d2112b7c4d11",
"custom_fields": {}
},
"upsert_on": {
"email": "<string>"
}
}'
{
"record": {
"id": "<string>"
}
}
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
curl --request POST \
--url https://api.openint.dev/v0/unified/sales-engagement/contact/_upsert \
--header 'Content-Type: application/json' \
--header 'x-apikey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '{
"record": {
"first_name": "James",
"last_name": "Smith",
"job_title": "CEO",
"address": {
"city": "San Francisco",
"country": "US",
"postal_code": "94107",
"state": "CA",
"street_1": "525 Brannan",
"street_2": null
},
"email_addresses": [
{
"email_address": "hello@revtron.ai",
"email_address_type": "work"
}
],
"phone_numbers": [
{
"phone_number": "+14151234567",
"phone_number_type": "work"
}
],
"owner_id": "9f3e97fd-4d5d-4efc-959d-bbebfac079f5",
"account_id": "ae4be028-9078-4850-a0bf-d2112b7c4d11",
"custom_fields": {}
},
"upsert_on": {
"email": "<string>"
}
}'
{
"record": {
"id": "<string>"
}
}