CRM
Log a Call/Meeting/Email/Task that happened outside Model Match
postapi.modelmatch.com/v1/crm/activity/log
Authorization
Body application/json
activityTypeenumrequiredOptions:
callmeetingemailtaskbodystringrequiredbodyHtmlstring | nulldirectionenum | nullcall + email only.
Options:
inboundoutboundnulldurationMinutesinteger | nullcall + meeting only, in minutes.
entityIdstringrequiredgrantRecordAccessUserIdsstring[]listIdstring | nulloccurredAtintegerrequiredEpoch ms the activity actually happened. Must be ≤ now + 5 minutes.
outcomestring | nullcall: connected | voicemail | no_answer | busy. meeting: held | no_show. Not allowed for email/task.
recordNamestringtitlestring | nullMeeting title / email subject / task title. Not allowed for a call; required for a task.
Responses
200objectThe new logged entry's id.Show attributesHide attributes
dataobjectrequiredShow child attributesHide child attributes
idstringrequired400objectValidation error401objectUnauthorized403objectForbidden (authenticated, but missing required context — e.g. no active organization)404objectNot found413objectResponse payload too large — detail endpoint capped to fit Lambda response limits503objectSearch timed out or the cluster is overloaded — retry after `Retry-After` seconds.