Overview
When exporting companies from Enginy, Enginy will call your/companies endpoint to create companies in batch. Your endpoint must accept the companies and return the CRM IDs for each created company.
Companies are created before contacts during export, so contact-company associations can be established.
Create Companies
Your Implementation Required
This endpoint must be implemented on your server
Request
Request Body
Request Fields
Additional fields from the company record will be included. Your CRM should gracefully handle unknown
fields.
Owner Assignment: If you implement the optional
/users endpoint, Enginy will include an ownerId
field when the user selects an owner during export. This allows companies to be assigned to specific CRM
users.Common Additional Fields
These fields may be included depending on the company data in Enginy:Financial Data Fields (if available)
Response
- Success (201)
- Partial Success (201)
- Error (4xx/5xx)
Return a
201 Created status with the created company IDs.Batch Size
Enginy sends companies in batches of up to 100 companies per request. Your endpoint should be able to handle this batch size efficiently.Testing Your Endpoint
Test your companies endpoint with this curl command:Next Steps
Contacts API
Implement the contacts endpoint
Associations API
Link contacts to companies
Examples
See complete implementation examples