Create customer interaction
Log a field-sales touch (door knock / call outcome). Writes the interaction to customer memory, applies the outcome’s default nextStepText/nextStepDueAt/needsHuman unless the body overrides them, and auto-advances statusId per the outcome→status-key map resolved against this workspace’s customer_statuses. When the PILE-412 stage gate refuses the advance, the touch still lands and the response flags stageBlocked.
POST
/workspaces/{organizationId}/customers/{id}/interactionsAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredidstringrequiredRequest body
application/jsonoutcomestringrequiredCanonical knock outcome — drives the next-step defaults and stage auto-advance
Allowed:
talkedsent_infoneeds_emailquotedcallbackno_answernot_interestedspamnotestringmax length 4000
nextStepTextstring | nullnextStepDueAtstring | nullquotedAmountCentsintegermax 1000000000
dealTitlestringmin length 1 · max length 200
Responses
201
Interaction logged
interactionobjectrequiredShow propertiesHide properties
idstringrequiredcustomerIdstringrequiredoutcomestringrequiredAllowed:
talkedsent_infoneeds_emailquotedcallbackno_answernot_interestedspamnotestring | nullrequiredcreatedAtstringrequiredcustomerobjectrequiredShow propertiesHide properties
idstringrequiredorganizationIdstringrequirednamestringrequiredurlstring | nullrequireddomainstring | nullrequiredbookingUrlstring | nullrequirednotesstring | nullrequiredlogoUrlstring | nullrequiredexternalIdstring | nullrequiredphonestring | nullrequiredaddressstring | nullrequiredverticalstring | nullrequiredneighborhoodstring | nullrequiredsourcestring | nullrequiredsourceSessionIdstring | nullrequiredsourceAgentSlugstring | nullrequiredreadinessstring | nullrequirednextActionstring | nullrequiredfitstring | nullrequiredfitScorenumber | nullrequiredfitStatusstring | nullrequiredprocessorstring | nullrequiredevidenceUristring | nullrequiredtierIdstring | nullrequiredstatusIdstring | nullrequiredownerIdstring | nullrequirednextStepTextstring | nullrequirednextStepDueAtstring | nullrequiredneedsHumanboolean | nullrequiredneedsHumanReasonstring | nullrequiredpriorityScorenumber | nullrequiredcustomFieldsobjectrequiredcreatedAtstringrequiredupdatedAtstringrequiredstageAdvancedbooleanrequiredstageBlockedbooleanrequireddealobject | nullrequiredShow propertiesHide properties
idstringrequiredorganizationIdstringrequiredcustomerIdstringrequirednamestringrequiredexternalIdstring | nullrequiredstagestringrequiredAllowed:
leadqualifiedproposalnegotiationwonlostamountCentsnumber | nullrequiredcurrencystring | nullrequiredexpectedCloseAtstring | nullrequireddescriptionstring | nullrequiredclosedAtstring | nullrequiredarchivedAtstring | nullrequirednextStepTextstring | nullrequirednextStepDueAtstring | nullrequiredneedsHumanboolean | nullrequiredneedsHumanReasonstring | nullrequiredpriorityScorenumber | nullrequiredcontactIdsstring[]requiredcustomFieldsobjectrequiredcreatedAtstringrequiredupdatedAtstringrequired404
Customer not found