Onboarding
Upload a document for AI proposal generation
Uploads a PDF/image (price list, spec sheet) for the given wizard surface. Requires the onboarding-assistant feature. Counts against the same 20/24h propose rate limit as text/CSV proposals. The uploaded file is deleted automatically after 24 hours.
path Parameters
companyIdsurfaceHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Upload a document for AI proposal generation › Responses
Document accepted, proposal row created at Status=1/4 Uploaded
onboardingProposalIdonboardingSessionIdcompanyIdsurfacesourceTypepayloadJsonmodelDeploymentpromptVersionstatussourceBlobUrioriginalFileNamelayoutTextBlobUrifailureReasoncreatedBycreatedAtupdatedAtGet the latest onboarding session
Returns the company's most recent onboarding session with its proposals. 404 when the company has never started onboarding.
path Parameters
companyIdHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get the latest onboarding session › Responses
The latest session
Get or create the onboarding session
Returns the company's in-progress onboarding session with its proposals, creating one if none exists.
path Parameters
companyIdHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get or create the onboarding session › Responses
The active session
Get trial onboarding checklist progress (Preview)
Preview: this operation may change or be removed without a new versioned route or notice period until it is announced as stable (see the API Versioning Policy). Returns six booleans derived from the company's real data: millCertUploaded, inventoryCreated, orderWithLineItemCreated, stockReserved, certificatePackGenerated and hexUsed. Soft-deleted records do not count. Also returns activation timing: companyCreatedAt, firstPackAt and timeToFirstPackSeconds (null until the first certificate pack exists).
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get trial onboarding checklist progress (Preview) › Responses
The company's checklist progress
millCertUploadedTrue when the company has at least one active mill certificate.
inventoryCreatedTrue when the company has at least one active inventory item.
orderWithLineItemCreatedTrue when the company has an active order with at least one active line item.
stockReservedTrue when any inventory is linked (reserved) to an order line item.
certificatePackGeneratedTrue when the company has generated at least one certificate pack.
hexUsedTrue when an onboarding (Hex) session has a completed step or a Completed/Dismissed status.
companyCreatedAtWhen the company was created (UTC).
firstPackAtWhen the company generated its first certificate pack (UTC); null until one exists.
timeToFirstPackSecondsSeconds from company creation to the first certificate pack (never negative); null until a pack exists.
Generate AI configuration proposals
Proposes configuration rows for a wizard surface from pasted text or imported rows. Requires the onboarding-assistant feature (Starter plan or higher). Rate limited to 50 calls per company per 24 hours.
path Parameters
companyIdHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Generate AI configuration proposals › Request Body
surfacesourceTypeinputonboardingSessionIdGenerate AI configuration proposals › Responses
Validated proposal rows. For surface=organisations, the shape is ProposeOrganisationsResponse instead (same envelope, different Rows item type).
Generate a proposal for another surface from an already-uploaded document
Reuses the extracted text from a document already uploaded (and scanned) elsewhere in this onboarding session to generate a proposal for a different surface, without re-running malware scanning or Document Intelligence extraction. Counts against the same 20/24h propose rate limit as every other proposal path.
path Parameters
companyIdsurfaceHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Generate a proposal for another surface from an already-uploaded document › Request Body
sourceProposalIdGenerate a proposal for another surface from an already-uploaded document › Responses
The new proposal, already at a terminal status (Proposed or Failed)
onboardingProposalIdonboardingSessionIdcompanyIdsurfacesourceTypepayloadJsonmodelDeploymentpromptVersionstatussourceBlobUrioriginalFileNamelayoutTextBlobUrifailureReasoncreatedBycreatedAtupdatedAtUpdate a proposal's status
Records the admin's decision on an AI proposal: Accepted, Rejected, or Applied.
path Parameters
companyIdproposalIdHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Update a proposal's status › Responses
Status updated
Update the onboarding session
Sets the session status (Completed/Dismissed) and/or records a completed step.
path Parameters
companyIdsessionIdHeaders
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Update the onboarding session › Responses
Updated session
onboardingSessionIdcompanyIdstatusstepsCompletedcreatedBycreatedAtupdatedAt
