v1
latestOpenAPI 3.1.02026-08-04253331435.1 KBCRM Automation Push
Create Custom Object Schema
Create a custom object schema in the user's CRM workspace.
The schema_key determines which NationGraph schema to create. Currently supported schemas:
- vendor_contract: Creates a NationGraph Vendor Contract custom object with fields for vendor, product, ACV, dates, summary, institution, and a link back to NationGraph. Associated with CRM companies/accounts.
HubSpot: Creates a custom object schema with all properties and company associations via the schemas API.
Salesforce: Creates a custom object via the Tooling API, then adds each custom field individually, including an Account lookup.
This endpoint is idempotent-safe — call the check endpoint first to verify the schema doesn't already exist.
post/api/v3/crm/{integration_id}/custom-object-schemas/{schema_key}
Path parameters
integration_idstring uuid required
The CRM integration ID
The CRM integration ID
schema_keystring required
Schema identifier (e.g. 'vendor_contract')
Schema identifier (e.g. 'vendor_contract')
Request body
Response
Successful Response