Crm API
(待译)
CRM manages customer records, properties, pipelines and relationships for people and agents. Concepts and behavior follow HubSpot CRM API (2026-09 objects, properties, pipelines, associations and schemas), so HubSpot experience applies. Differences: the own face uses /crm/v1; writes return refs for entity cards in conversations, including a JSON body with HTTP 200 for archive operations; stage.metadata carries transition and required-property rules. CRM also provides explicit lead qualification choices, change-set reversal and shared record layouts, which combine decisions otherwise handled through separate record edits or interface settings. Start with praxis.crm.schemas.list to discover object types.
- Create labelled association —
PUT /crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId} - Create default association —
PUT /crm/v1/objects/{objectType}/{objectId}/associations/default/{toObjectType}/{toObjectId} - List record associations —
GET /crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType} - Remove association —
DELETE /crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId} - Revert change set —
POST /crm/v1/changes/{changeSetId}:revert - Retrieve record layout —
GET /crm/v1/layouts/{objectType} - Update record layout —
PUT /crm/v1/layouts/{objectType} - Qualify lead —
POST /crm/v1/leads/{leadId}:qualify - Archive record —
DELETE /crm/v1/objects/{objectType}/{objectId} - Batch archive records —
POST /crm/v1/objects/{objectType}/batch/archive - Batch create records —
POST /crm/v1/objects/{objectType}/batch/create - Batch read records —
POST /crm/v1/objects/{objectType}/batch/read - Batch update records —
POST /crm/v1/objects/{objectType}/batch/update - Batch upsert records —
POST /crm/v1/objects/{objectType}/batch/upsert - Create record —
POST /crm/v1/objects/{objectType} - List records —
GET /crm/v1/objects/{objectType} - Retrieve record —
GET /crm/v1/objects/{objectType}/{objectId} - Search records —
POST /crm/v1/objects/{objectType}/search - Update record —
PATCH /crm/v1/objects/{objectType}/{objectId} - Archive pipeline —
DELETE /crm/v1/pipelines/{objectType}/{pipelineId} - Create pipeline —
POST /crm/v1/pipelines/{objectType} - List pipelines —
GET /crm/v1/pipelines/{objectType} - Retrieve pipeline —
GET /crm/v1/pipelines/{objectType}/{pipelineId} - Archive pipeline stage —
DELETE /crm/v1/pipelines/{objectType}/{pipelineId}/stages/{stageId} - Create pipeline stage —
POST /crm/v1/pipelines/{objectType}/{pipelineId}/stages - Update pipeline stage —
PATCH /crm/v1/pipelines/{objectType}/{pipelineId}/stages/{stageId} - Update pipeline —
PATCH /crm/v1/pipelines/{objectType}/{pipelineId} - Archive property —
DELETE /crm/v1/properties/{objectType}/{propertyName} - Create property —
POST /crm/v1/properties/{objectType} - Create property group —
POST /crm/v1/properties/{objectType}/groups - List property groups —
GET /crm/v1/properties/{objectType}/groups - List properties —
GET /crm/v1/properties/{objectType} - Retrieve property —
GET /crm/v1/properties/{objectType}/{propertyName} - Update property —
PATCH /crm/v1/properties/{objectType}/{propertyName} - Create object schema —
POST /crm/v1/schemas - List object schemas —
GET /crm/v1/schemas