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>"
  }
}

Authorizations

x-apikey
string
header
required
x-connection-id
string
header
required

Body

application/json

Response

200
application/json
Successful response

The response is of type object.