Create a new resource
Authorizations
Enter your API key with the Bearer prefix — e.g. Bearer sk_live_xxx (production) or Bearer sk_test_xxx (sandbox)
Headers
Identifier of the end user whose connected provider should be queried. This is the same endUserId you supplied when creating the connect token. Required on every CRM and accounting call.
"user-001"
Path Parameters
Canonical CRM resource type to create. Must be one of the values in the enum below. RouteMCP maps this to the equivalent provider-native object (e.g. contact → HubSpot Contacts, Pipedrive Persons, Zoho Contacts). owner and pipeline are read-only and cannot be created.
contact, lead, deal, meeting, company, note, task, activity, appointment Query Parameters
Provider slug identifying which connected provider to target (e.g. hubspot, pipedrive, zoho-crm, quickbooks-online, xero, zoho-books). Required — single-record operations always target a specific provider.
"hubspot"
Body
CRM resource body. Pick an example from the dropdown to see the schema for each resource type.
- Contact
- Lead
- Deal
- Meeting
- Company
- Note
- Task
- Activity
- Appointment
Given name of the contact.
"Gil"
Family name of the contact.
"Feig"
Provider-native ID of the associated account (company). Format is provider-specific.
"420578000000250001"
Provider-native ID of the record owner.
"420578000000250001"
Postal addresses for this contact. Most providers persist only the first (primary) address.
Email addresses for this contact. The first entry is treated as the primary email.
Phone numbers for this contact. The first entry is treated as the primary phone.
Response
Resource created successfully
Standard envelope returned by POST /crm/{resource}. Contains the newly created record. The shape of data depends on the {resource} path parameter — see the tabs to switch between resource variants.
Always true for successful (2xx) responses.
true
HTTP status code mirrored inside the envelope. 201 for successful creation.
201
"Created"
A person record (typically associated with a company/account).
- Contact
- Lead
- Deal
- Meeting
- Company
- Note
- Task
- Activity
- Appointment