Skip to main content
PATCH
/
v1
/
records
/
{record_id}
Update an existing record
curl --request PATCH \
  --url https://app.nex.ai/api/developers/v1/records/{record_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "attributes": {
    "job_title": "Senior Engineer",
    "location": {
      "city": "Boston",
      "region": "MA",
      "country": "US"
    },
    "phone_number": {
      "country_code": 1,
      "number": "5551234567"
    }
  }
}
'
{
  "id": "32414268188027655",
  "object_id": "32414268188027650",
  "type": "person",
  "workspace_id": "32414268188027645",
  "created_at": "2024-01-15T14:20:00Z",
  "updated_at": "2024-01-21T11:45:00Z",
  "attributes": {
    "name": {
      "first_name": "John",
      "last_name": "Doe"
    },
    "email_addresses": [
      "[email protected]"
    ],
    "job_title": "Senior Engineer",
    "phone_number": {
      "country_code": 1,
      "number": "5551234567"
    },
    "location": {
      "city": "Boston",
      "region": "MA",
      "country": "US"
    }
  }
}

Authorizations

Authorization
string
header
required

API key for authentication (format: "Bearer YOUR_API_KEY")

Path Parameters

record_id
integer
required

Record ID

Body

application/json

Attributes to update

attributes
object

Attributes to update

Response

Updated record with all attributes

attributes
object
created_at
string
id
string
object_id
string
type
string
updated_at
string
workspace_id
string