Log activity
Changed onLogs a note, email, call or meeting on a contact's timeline, optionally on one of their deals. body holds up to 10,000 characters. A meeting may have no contact and may carry ends_at. The author is the team member whose key made the call, or the agent's chat (author_agent) when Crevio's agent logs it.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
What happened: note, email, call or meeting. Defaults to note on create. Stage changes are written when a deal moves and cannot be logged by hand.
Contact ID (con_...) the activity is about. Required unless kind is meeting or deal is set; with a deal it must be the deal's contact.
Deal ID (deal_...) the activity belongs to. Its contact becomes the activity's contact.
What was said or decided: the note, the email's gist, the call summary or the meeting minutes.
When it happened. Defaults to now.
When a meeting ended. Only for meeting, and not before occurred_at.
Response
Activity logged
ID by default, full object when expanded
ID by default, full object when expanded
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning