Skip to main content
POST
/
crm
/
{resource}
curl --request POST \ --url https://api.routemcp.io/api/v1/crm/{resource} \ --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": 201, "message": "Created", "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" } } }

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

Query Parameters

provider
string
required
Example:

"hubspot"

Body

application/json

CRM resource body. Pick an example from the dropdown to see the schema for each resource type.

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 created successfully