Skip to main content
PUT
/
crm
/
{resource}
/
{id}
curl --request PUT \
  --url https://api.routemcp.io/api/v1/crm/{resource}/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'X-End-User-Id: <x-end-user-id>' \
  --data '
{
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "jane.doe@example.com",
  "phone": "+1-555-0100",
  "job_title": "VP of Sales",
  "address": {
    "street_1": "123 Main St",
    "city": "San Francisco",
    "state": "CA",
    "postal_code": "94105",
    "country": "US"
  }
}
'
{
  "success": true,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "data": {
      "id": "12345",
      "remote_id": "12345",
      "first_name": "Jane",
      "last_name": "Doe",
      "email": "jane.doe@example.com",
      "phone": "+1-555-0100",
      "job_title": "VP of Sales",
      "address": {
        "street_1": "123 Main St",
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94105",
        "country": "US"
      },
      "lifecycle_stage": "customer",
      "owner": "67823451",
      "owner_name": "John Smith",
      "owner_email": "john.smith@acme.com",
      "source": null,
      "remote_created_at": "2025-01-15T10:00:00.000Z",
      "remote_updated_at": "2025-03-01T14:30:00.000Z",
      "providerSlug": "hubspot",
      "providerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.routemcp.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)

Headers

X-End-User-Id
string
required
Example:

"user-001"

Path Parameters

resource
enum<string>
required
Available options:
contact,
lead,
deal,
meeting,
company,
note,
task,
activity,
appointment
id
string
required

Provider-native ID of the record

Example:

"12345"

Query Parameters

provider
string
required
Example:

"hubspot"

Body

application/json

Full replacement body (PUT). Same required fields as create.

first_name
string
Example:

"Gil"

last_name
string
Example:

"Feig"

account
string

Provider-native ID of the associated account (company). Format is provider-specific.

Example:

"420578000000250001"

owner
string

Provider-native ID of the record owner.

Example:

"420578000000250001"

addresses
Address · object[]
email_addresses
EmailAddress · object[]
phone_numbers
PhoneNumber · object[]

Response

Resource fully updated