{"catalogVersion":1,"envelope":{"schema":{"$schema":"http://json-schema.org/draft-07/schema#","title":"SalesOS webhook event","type":"object","required":["id","type","version","occurredAt","organizationId","data"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"Unique event id (evt_…). Retries and replays reuse it — dedupe on it."},"type":{"type":"string","enum":["lead.created","lead.updated","lead.deleted","lead.converted","contact.created","contact.updated","contact.deleted","account.created","account.updated","account.deleted","opportunity.created","opportunity.updated","opportunity.deleted","opportunity.stage_changed","opportunity.won","opportunity.lost","task.created","task.updated","task.completed","task.deleted","task.overdue","activity.created","meeting.completed","email.received","email.replied","quote.sent","quote.accepted","order.created","invoice.created","invoice.paid","case.created","case.updated","case.deleted","custom_object.record.created","custom_object.record.updated","custom_object.record.deleted","app.installed","app.uninstalled","approval.approved","approval.rejected"]},"version":{"type":"integer","minimum":1,"description":"Schema version of `data` for this type"},"occurredAt":{"type":"string","format":"date-time"},"organizationId":{"type":"string"},"data":{"type":"object"},"test":{"type":"boolean","description":"Present and true on \"Send test event\" deliveries only"}}},"sample":{"id":"evt_3f9c2a7d1b8e4c60a5d2f1e0b9c8a7d6","type":"opportunity.stage_changed","version":1,"occurredAt":"2026-10-01T12:00:00.000Z","organizationId":"org_4k2j9x","data":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"NEGOTIATION_REVIEW","probability":80,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":false,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","previousStage":"PROPOSAL_PRICE_QUOTE","stage":"NEGOTIATION_REVIEW"}}},"signature":{"header":"X-SalesOS-Signature","format":"t=<unix seconds>,v1=<hex HMAC-SHA256(secret, \"<t>.<raw body>\")>","toleranceSeconds":300,"legacyHeader":"X-Webhook-Signature: <hex HMAC-SHA256(secret, raw body)> (no timestamp; kept for existing receivers)"},"events":[{"key":"lead.created@1","type":"lead.created","version":1,"category":"Leads","description":"A lead was created (UI, API, import, web form or automation).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"lead"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":"string"},"leadSource":{"type":"string"},"rating":{"type":["string","null"]},"leadScore":{"type":["integer","null"]},"convertedAccountId":{"type":["string","null"]},"convertedContactId":{"type":["string","null"]},"convertedOpportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"lead","id":"cmlead01","record":{"id":"cmlead01","firstName":"Priya","lastName":"Shah","email":"priya@northwind.example","phone":null,"company":"Northwind","title":"VP Operations","status":"NEW","leadSource":"WEB","rating":"WARM","leadScore":72,"convertedAccountId":null,"convertedContactId":null,"convertedOpportunityId":null,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"lead_region__c":"EMEA"}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"lead.updated@1","type":"lead.updated","version":1,"category":"Leads","description":"A lead was edited. `previous` holds the record before the change and `changedFields` lists what changed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"lead"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":"string"},"leadSource":{"type":"string"},"rating":{"type":["string","null"]},"leadScore":{"type":["integer","null"]},"convertedAccountId":{"type":["string","null"]},"convertedContactId":{"type":["string","null"]},"convertedOpportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"lead","id":"cmlead01","record":{"id":"cmlead01","firstName":"Priya","lastName":"Shah","email":"priya@northwind.example","phone":null,"company":"Northwind","title":"VP Operations","status":"NEW","leadSource":"WEB","rating":"WARM","leadScore":72,"convertedAccountId":null,"convertedContactId":null,"convertedOpportunityId":null,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"lead_region__c":"EMEA"}},"previous":{"id":"cmlead01","firstName":"Priya","lastName":"Shah","email":"priya@northwind.example","phone":null,"company":"Northwind","title":"VP Operations","status":"CONTACTED","leadSource":"WEB","rating":"WARM","leadScore":72,"convertedAccountId":null,"convertedContactId":null,"convertedOpportunityId":null,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"lead_region__c":"EMEA"}},"changedFields":["status"],"actorId":"usr_8f2k1m"}},{"key":"lead.deleted@1","type":"lead.deleted","version":1,"category":"Leads","description":"A lead was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"lead"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":"string"},"leadSource":{"type":"string"},"rating":{"type":["string","null"]},"leadScore":{"type":["integer","null"]},"convertedAccountId":{"type":["string","null"]},"convertedContactId":{"type":["string","null"]},"convertedOpportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"lead","id":"cmlead01","record":{"id":"cmlead01","firstName":"Priya","lastName":"Shah","email":"priya@northwind.example","phone":null,"company":"Northwind","title":"VP Operations","status":"NEW","leadSource":"WEB","rating":"WARM","leadScore":72,"convertedAccountId":null,"convertedContactId":null,"convertedOpportunityId":null,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"lead_region__c":"EMEA"}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"lead.converted@1","type":"lead.converted","version":1,"category":"Leads","description":"A lead was converted. `convertedAccountId`, `convertedContactId` and (when a deal was created) `convertedOpportunityId` are set on the record.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"lead"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"company":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":"string"},"leadSource":{"type":"string"},"rating":{"type":["string","null"]},"leadScore":{"type":["integer","null"]},"convertedAccountId":{"type":["string","null"]},"convertedContactId":{"type":["string","null"]},"convertedOpportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"lead","id":"cmlead01","record":{"id":"cmlead01","firstName":"Priya","lastName":"Shah","email":"priya@northwind.example","phone":null,"company":"Northwind","title":"VP Operations","status":"CONVERTED","leadSource":"WEB","rating":"WARM","leadScore":72,"convertedAccountId":"cmaccount01","convertedContactId":"cmcontact01","convertedOpportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"lead_region__c":"EMEA"}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"contact.created@1","type":"contact.created","version":1,"category":"Contacts","description":"A contact was created (UI, API, import, web form or automation).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"contact"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"title":{"type":["string","null"]},"accountId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"contact","id":"cmcontact01","record":{"id":"cmcontact01","firstName":"Jonas","lastName":"Berg","email":"jonas@northwind.example","phone":"+46 8 555 0101","title":"Head of IT","accountId":"cmaccount01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"contact.updated@1","type":"contact.updated","version":1,"category":"Contacts","description":"A contact was edited. `previous` holds the record before the change and `changedFields` lists what changed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"contact"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"title":{"type":["string","null"]},"accountId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"contact","id":"cmcontact01","record":{"id":"cmcontact01","firstName":"Jonas","lastName":"Berg","email":"jonas@northwind.example","phone":"+46 8 555 0101","title":"Head of IT","accountId":"cmaccount01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":{"id":"cmcontact01","firstName":"Jonas","lastName":"Berg","email":"jonas@northwind.example","phone":"+46 8 555 0101","title":"IT Manager","accountId":"cmaccount01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"changedFields":["title"],"actorId":"usr_8f2k1m"}},{"key":"contact.deleted@1","type":"contact.deleted","version":1,"category":"Contacts","description":"A contact was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"contact"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"title":{"type":["string","null"]},"accountId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"contact","id":"cmcontact01","record":{"id":"cmcontact01","firstName":"Jonas","lastName":"Berg","email":"jonas@northwind.example","phone":"+46 8 555 0101","title":"Head of IT","accountId":"cmaccount01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"account.created@1","type":"account.created","version":1,"category":"Accounts","description":"A account was created (UI, API, import, web form or automation).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"account"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"website":{"type":["string","null"]},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"type":{"type":"string"},"externalId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"account","id":"cmaccount01","record":{"id":"cmaccount01","name":"Northwind","website":"https://northwind.example","domain":"northwind.example","industry":"Logistics","type":"CUSTOMER","externalId":"ERP-10442","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"erp_tier__c":"Gold"}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"account.updated@1","type":"account.updated","version":1,"category":"Accounts","description":"A account was edited. `previous` holds the record before the change and `changedFields` lists what changed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"account"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"website":{"type":["string","null"]},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"type":{"type":"string"},"externalId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"account","id":"cmaccount01","record":{"id":"cmaccount01","name":"Northwind","website":"https://northwind.example","domain":"northwind.example","industry":"Logistics","type":"CUSTOMER","externalId":"ERP-10442","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"erp_tier__c":"Gold"}},"previous":{"id":"cmaccount01","name":"Northwind","website":"https://northwind.example","domain":"northwind.example","industry":null,"type":"CUSTOMER","externalId":"ERP-10442","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"erp_tier__c":"Gold"}},"changedFields":["industry"],"actorId":"usr_8f2k1m"}},{"key":"account.deleted@1","type":"account.deleted","version":1,"category":"Accounts","description":"A account was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"account"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"website":{"type":["string","null"]},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"type":{"type":"string"},"externalId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"account","id":"cmaccount01","record":{"id":"cmaccount01","name":"Northwind","website":"https://northwind.example","domain":"northwind.example","industry":"Logistics","type":"CUSTOMER","externalId":"ERP-10442","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{"erp_tier__c":"Gold"}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"opportunity.created@1","type":"opportunity.created","version":1,"category":"Deals","description":"A deal was created (UI, API, import, web form or automation).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"opportunity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":["number","null"]},"currency":{"type":"string"},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"probability":{"type":["integer","null"]},"closeDate":{"type":["string","null"],"format":"date-time"},"accountId":{"type":"string"},"isClosed":{"type":"boolean"},"isWon":{"type":"boolean"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"NEGOTIATION_REVIEW","probability":80,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":false,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"opportunity.updated@1","type":"opportunity.updated","version":1,"category":"Deals","description":"A deal was edited. `previous` holds the record before the change and `changedFields` lists what changed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"opportunity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":["number","null"]},"currency":{"type":"string"},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"probability":{"type":["integer","null"]},"closeDate":{"type":["string","null"],"format":"date-time"},"accountId":{"type":"string"},"isClosed":{"type":"boolean"},"isWon":{"type":"boolean"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"NEGOTIATION_REVIEW","probability":80,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":false,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":42000,"currency":"USD","stage":"NEGOTIATION_REVIEW","probability":80,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":false,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"changedFields":["amount"],"actorId":"usr_8f2k1m"}},{"key":"opportunity.deleted@1","type":"opportunity.deleted","version":1,"category":"Deals","description":"A deal was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"opportunity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":["number","null"]},"currency":{"type":"string"},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"probability":{"type":["integer","null"]},"closeDate":{"type":["string","null"],"format":"date-time"},"accountId":{"type":"string"},"isClosed":{"type":"boolean"},"isWon":{"type":"boolean"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"NEGOTIATION_REVIEW","probability":80,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":false,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"opportunity.stage_changed@1","type":"opportunity.stage_changed","version":1,"category":"Deals","description":"A deal moved to a different pipeline stage, including into Closed Won / Closed Lost.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"opportunity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":["number","null"]},"currency":{"type":"string"},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"probability":{"type":["integer","null"]},"closeDate":{"type":["string","null"],"format":"date-time"},"accountId":{"type":"string"},"isClosed":{"type":"boolean"},"isWon":{"type":"boolean"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"previousStage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]}}},"sample":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"NEGOTIATION_REVIEW","probability":80,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":false,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","previousStage":"PROPOSAL_PRICE_QUOTE","stage":"NEGOTIATION_REVIEW"}},{"key":"opportunity.won@1","type":"opportunity.won","version":1,"category":"Deals","description":"A deal moved into Closed Won.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"opportunity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":["number","null"]},"currency":{"type":"string"},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"probability":{"type":["integer","null"]},"closeDate":{"type":["string","null"],"format":"date-time"},"accountId":{"type":"string"},"isClosed":{"type":"boolean"},"isWon":{"type":"boolean"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"previousStage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"stage":{"const":"CLOSED_WON"}}},"sample":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"CLOSED_WON","probability":100,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":true,"isWon":true,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","previousStage":"NEGOTIATION_REVIEW","stage":"CLOSED_WON"}},{"key":"opportunity.lost@1","type":"opportunity.lost","version":1,"category":"Deals","description":"A deal moved into Closed Lost.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"opportunity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":["number","null"]},"currency":{"type":"string"},"stage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"probability":{"type":["integer","null"]},"closeDate":{"type":["string","null"],"format":"date-time"},"accountId":{"type":"string"},"isClosed":{"type":"boolean"},"isWon":{"type":"boolean"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"previousStage":{"type":"string","enum":["PROSPECTING","QUALIFICATION","NEEDS_ANALYSIS","VALUE_PROPOSITION","DECISION_MAKERS_IDENTIFIED","PERCEPTION_ANALYSIS","PROPOSAL_PRICE_QUOTE","NEGOTIATION_REVIEW","CLOSED_WON","CLOSED_LOST"]},"stage":{"const":"CLOSED_LOST"}}},"sample":{"object":"opportunity","id":"cmopp01","record":{"id":"cmopp01","name":"Northwind — Fleet rollout","amount":48000,"currency":"USD","stage":"CLOSED_LOST","probability":0,"closeDate":"2026-10-31T00:00:00.000Z","accountId":"cmaccount01","isClosed":true,"isWon":false,"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","previousStage":"NEGOTIATION_REVIEW","stage":"CLOSED_LOST"}},{"key":"task.created@1","type":"task.created","version":1,"category":"Tasks","description":"A task was created (UI, API, import, web form or automation).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"task"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"dueDate":{"type":["string","null"],"format":"date-time"},"completedDate":{"type":["string","null"],"format":"date-time"},"assignedToId":{"type":["string","null"]},"leadId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"task","id":"cmtask01","record":{"id":"cmtask01","subject":"Send revised proposal","status":"NOT_STARTED","priority":"HIGH","dueDate":"2026-10-03T17:00:00.000Z","completedDate":null,"assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"task.updated@1","type":"task.updated","version":1,"category":"Tasks","description":"A task was edited. `previous` holds the record before the change and `changedFields` lists what changed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"task"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"dueDate":{"type":["string","null"],"format":"date-time"},"completedDate":{"type":["string","null"],"format":"date-time"},"assignedToId":{"type":["string","null"]},"leadId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"task","id":"cmtask01","record":{"id":"cmtask01","subject":"Send revised proposal","status":"NOT_STARTED","priority":"HIGH","dueDate":"2026-10-03T17:00:00.000Z","completedDate":null,"assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":{"id":"cmtask01","subject":"Send revised proposal","status":"NOT_STARTED","priority":"NORMAL","dueDate":"2026-10-03T17:00:00.000Z","completedDate":null,"assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"changedFields":["priority"],"actorId":"usr_8f2k1m"}},{"key":"task.completed@1","type":"task.completed","version":1,"category":"Tasks","description":"A task was marked completed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"task"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"dueDate":{"type":["string","null"],"format":"date-time"},"completedDate":{"type":["string","null"],"format":"date-time"},"assignedToId":{"type":["string","null"]},"leadId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"task","id":"cmtask01","record":{"id":"cmtask01","subject":"Send revised proposal","status":"COMPLETED","priority":"HIGH","dueDate":"2026-10-03T17:00:00.000Z","completedDate":"2026-10-01T12:00:00.000Z","assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":{"id":"cmtask01","subject":"Send revised proposal","status":"IN_PROGRESS","priority":"HIGH","dueDate":"2026-10-03T17:00:00.000Z","completedDate":null,"assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"changedFields":["status","completedDate"],"actorId":"usr_8f2k1m"}},{"key":"task.deleted@1","type":"task.deleted","version":1,"category":"Tasks","description":"A task was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"task"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"dueDate":{"type":["string","null"],"format":"date-time"},"completedDate":{"type":["string","null"],"format":"date-time"},"assignedToId":{"type":["string","null"]},"leadId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"task","id":"cmtask01","record":{"id":"cmtask01","subject":"Send revised proposal","status":"NOT_STARTED","priority":"HIGH","dueDate":"2026-10-03T17:00:00.000Z","completedDate":null,"assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"task.overdue@1","type":"task.overdue","version":1,"category":"Tasks","description":"An open task passed its due date. Sent once per task, shortly after it becomes overdue.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"task"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"dueDate":{"type":["string","null"],"format":"date-time"},"completedDate":{"type":["string","null"],"format":"date-time"},"assignedToId":{"type":["string","null"]},"leadId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}}}},"sample":{"object":"task","id":"cmtask01","record":{"id":"cmtask01","subject":"Send revised proposal","status":"NOT_STARTED","priority":"HIGH","dueDate":"2026-10-03T17:00:00.000Z","completedDate":null,"assignedToId":"usr_8f2k1m","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":null,"relatedTo":{"object":"Opportunity","id":"cmopp01"}}},{"key":"activity.created@1","type":"activity.created","version":1,"category":"Activities","description":"A call, email, meeting or other activity was logged against a record.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"activity"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"type":{"type":"string"},"subject":{"type":"string"},"activityDate":{"type":"string","format":"date-time"},"leadId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"userId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}}}},"sample":{"object":"activity","id":"cmact01","record":{"id":"cmact01","type":"CALL","subject":"Discovery call","activityDate":"2026-10-01T12:00:00.000Z","leadId":null,"contactId":"cmcontact01","accountId":"cmaccount01","opportunityId":"cmopp01","userId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","relatedTo":{"object":"Opportunity","id":"cmopp01"}}},{"key":"meeting.completed@1","type":"meeting.completed","version":1,"category":"Activities","description":"A meeting finished: either a MEETING activity was logged (`object: \"activity\"`) or a recorded meeting was analysed (`object: \"meeting\"`).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"enum":["meeting","activity"]},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"scheduledStart":{"type":"string","format":"date-time"},"actualEnd":{"type":["string","null"],"format":"date-time"},"leadId":{"type":["string","null"]},"accountId":{"type":["string","null"]},"opportunityId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}}}},"sample":{"object":"meeting","id":"cmmeet01","record":{"id":"cmmeet01","title":"Northwind QBR","status":"COMPLETED","scheduledStart":"2026-10-01T12:00:00.000Z","actualEnd":"2026-10-01T12:00:00.000Z","leadId":null,"accountId":"cmaccount01","opportunityId":"cmopp01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","relatedTo":{"object":"Opportunity","id":"cmopp01"}}},{"key":"email.received@1","type":"email.received","version":1,"category":"Email","description":"An inbound email arrived on a synced thread. `bodyText` is capped at 10,000 characters.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"email_message"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"threadId":{"type":"string"},"subject":{"type":"string"},"fromEmail":{"type":"string"},"fromName":{"type":["string","null"]},"toEmails":{"type":"array","items":{"type":"string"}},"direction":{"type":"string"},"receivedAt":{"type":["string","null"],"format":"date-time"},"bodyText":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}}}},"sample":{"object":"email_message","id":"cmemail01","record":{"id":"cmemail01","threadId":"cmthread01","subject":"Re: Fleet rollout pricing","fromEmail":"jonas@northwind.example","fromName":"Jonas Berg","toEmails":["rep@acme.example"],"direction":"INBOUND","receivedAt":"2026-10-01T12:00:00.000Z","bodyText":"Thanks — the revised numbers work for us.","createdAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":null,"relatedTo":{"object":"Opportunity","id":"cmopp01"}}},{"key":"email.replied@1","type":"email.replied","version":1,"category":"Email","description":"A prospect replied to an email the team sent (an inbound email that is a reply, not unsolicited).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"email_message"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"threadId":{"type":"string"},"subject":{"type":"string"},"fromEmail":{"type":"string"},"fromName":{"type":["string","null"]},"toEmails":{"type":"array","items":{"type":"string"}},"direction":{"type":"string"},"receivedAt":{"type":["string","null"],"format":"date-time"},"bodyText":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}}}},"sample":{"object":"email_message","id":"cmemail01","record":{"id":"cmemail01","threadId":"cmthread01","subject":"Re: Fleet rollout pricing","fromEmail":"jonas@northwind.example","fromName":"Jonas Berg","toEmails":["rep@acme.example"],"direction":"INBOUND","receivedAt":"2026-10-01T12:00:00.000Z","bodyText":"Thanks — the revised numbers work for us.","createdAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":null,"relatedTo":{"object":"Opportunity","id":"cmopp01"}}},{"key":"quote.sent@1","type":"quote.sent","version":1,"category":"Quotes & orders","description":"A quote was sent to the customer.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"quote"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"quoteNumber":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"totalPrice":{"type":["number","null"]},"currency":{"type":"string"},"opportunityId":{"type":"string"},"accountId":{"type":"string"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"quote","id":"cmquote01","record":{"id":"cmquote01","quoteNumber":"Q-2026-0042","name":"Fleet rollout — 120 seats","status":"SENT","totalPrice":48000,"currency":"USD","opportunityId":"cmopp01","accountId":"cmaccount01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"quote.accepted@1","type":"quote.accepted","version":1,"category":"Quotes & orders","description":"A quote was accepted (by the customer or marked accepted).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"quote"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"quoteNumber":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"totalPrice":{"type":["number","null"]},"currency":{"type":"string"},"opportunityId":{"type":"string"},"accountId":{"type":"string"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"customFields":{"type":"object","description":"Custom field values keyed by API name","additionalProperties":true}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}}}},"sample":{"object":"quote","id":"cmquote01","record":{"id":"cmquote01","quoteNumber":"Q-2026-0042","name":"Fleet rollout — 120 seats","status":"ACCEPTED","totalPrice":48000,"currency":"USD","opportunityId":"cmopp01","accountId":"cmaccount01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z","customFields":{}},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","relatedTo":{"object":"Opportunity","id":"cmopp01"}}},{"key":"order.created@1","type":"order.created","version":1,"category":"Quotes & orders","description":"An order was created, directly or by converting a quote.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"order"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"orderNumber":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"total":{"type":["number","null"]},"currency":{"type":"string"},"accountId":{"type":"string"},"quoteId":{"type":["string","null"]},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"order","id":"cmorder01","record":{"id":"cmorder01","orderNumber":"ORD-2026-0007","name":"Fleet rollout","status":"PENDING","total":48000,"currency":"USD","accountId":"cmaccount01","quoteId":"cmquote01","ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"invoice.created@1","type":"invoice.created","version":1,"category":"Quotes & orders","description":"A customer invoice was created. Amounts are in minor units.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"invoice"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"invoiceNumber":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"total":{"type":"integer","description":"Minor units (cents)"},"amountPaid":{"type":"integer","description":"Minor units (cents)"},"amountDue":{"type":"integer","description":"Minor units (cents)"},"dueDate":{"type":["string","null"],"format":"date-time"},"paidAt":{"type":["string","null"],"format":"date-time"},"accountId":{"type":["string","null"]},"orderId":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"invoice","id":"cminv01","record":{"id":"cminv01","invoiceNumber":"INV-2026-0019","status":"DRAFT","currency":"USD","total":4800000,"amountPaid":0,"amountDue":4800000,"dueDate":"2026-10-31T00:00:00.000Z","paidAt":null,"accountId":"cmaccount01","orderId":"cmorder01","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"invoice.paid@1","type":"invoice.paid","version":1,"category":"Quotes & orders","description":"A customer invoice was paid in full.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"invoice"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"invoiceNumber":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"total":{"type":"integer","description":"Minor units (cents)"},"amountPaid":{"type":"integer","description":"Minor units (cents)"},"amountDue":{"type":"integer","description":"Minor units (cents)"},"dueDate":{"type":["string","null"],"format":"date-time"},"paidAt":{"type":["string","null"],"format":"date-time"},"accountId":{"type":["string","null"]},"orderId":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"invoice","id":"cminv01","record":{"id":"cminv01","invoiceNumber":"INV-2026-0019","status":"PAID","currency":"USD","total":4800000,"amountPaid":4800000,"amountDue":0,"dueDate":"2026-10-31T00:00:00.000Z","paidAt":"2026-10-01T12:00:00.000Z","accountId":"cmaccount01","orderId":"cmorder01","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"case.created@1","type":"case.created","version":1,"category":"Cases","description":"A service case was created (UI, API, import, web form or automation).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"case"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"caseNumber":{"type":"integer"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"accountId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"ownerId":{"type":"string"},"assignedToId":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"case","id":"cmcase01","record":{"id":"cmcase01","caseNumber":1042,"subject":"Driver app login fails","status":"NEW","priority":"HIGH","accountId":"cmaccount01","contactId":"cmcontact01","ownerId":"usr_8f2k1m","assignedToId":null,"createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"case.updated@1","type":"case.updated","version":1,"category":"Cases","description":"A service case was edited. `previous` holds the record before the change and `changedFields` lists what changed.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"case"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"caseNumber":{"type":"integer"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"accountId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"ownerId":{"type":"string"},"assignedToId":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"case","id":"cmcase01","record":{"id":"cmcase01","caseNumber":1042,"subject":"Driver app login fails","status":"NEW","priority":"HIGH","accountId":"cmaccount01","contactId":"cmcontact01","ownerId":"usr_8f2k1m","assignedToId":null,"createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":{"id":"cmcase01","caseNumber":1042,"subject":"Driver app login fails","status":"OPEN","priority":"HIGH","accountId":"cmaccount01","contactId":"cmcontact01","ownerId":"usr_8f2k1m","assignedToId":null,"createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"changedFields":["status"],"actorId":"usr_8f2k1m"}},{"key":"case.deleted@1","type":"case.deleted","version":1,"category":"Cases","description":"A service case was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"case"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"caseNumber":{"type":"integer"},"subject":{"type":"string"},"status":{"type":"string"},"priority":{"type":"string"},"accountId":{"type":["string","null"]},"contactId":{"type":["string","null"]},"ownerId":{"type":"string"},"assignedToId":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"}}},"sample":{"object":"case","id":"cmcase01","record":{"id":"cmcase01","caseNumber":1042,"subject":"Driver app login fails","status":"NEW","priority":"HIGH","accountId":"cmaccount01","contactId":"cmcontact01","ownerId":"usr_8f2k1m","assignedToId":null,"createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m"}},{"key":"custom_object.record.created@1","type":"custom_object.record.created","version":1,"category":"Custom objects","description":"A record of a custom object was created. `objectApiName` names the object.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"custom_object_record"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"objectId":{"type":"string"},"data":{"type":"object","description":"Field values keyed by field name"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"objectApiName":{"type":"string","description":"The custom object API name"}}},"sample":{"object":"custom_object_record","id":"cmrec01","record":{"id":"cmrec01","objectId":"cmobj01","data":{"vehicle_vin":"1HGBH41JXMN109186","mileage":42000},"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","objectApiName":"vehicle"}},{"key":"custom_object.record.updated@1","type":"custom_object.record.updated","version":1,"category":"Custom objects","description":"A custom object record was edited.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"custom_object_record"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"objectId":{"type":"string"},"data":{"type":"object","description":"Field values keyed by field name"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"objectApiName":{"type":"string","description":"The custom object API name"}}},"sample":{"object":"custom_object_record","id":"cmrec01","record":{"id":"cmrec01","objectId":"cmobj01","data":{"vehicle_vin":"1HGBH41JXMN109186","mileage":42000},"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":{"id":"cmrec01","objectId":"cmobj01","data":{"vehicle_vin":"1HGBH41JXMN109186","mileage":39000},"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"changedFields":["data"],"actorId":"usr_8f2k1m","objectApiName":"vehicle"}},{"key":"custom_object.record.deleted@1","type":"custom_object.record.deleted","version":1,"category":"Custom objects","description":"A custom object record was deleted. `record` is its last state.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"custom_object_record"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"objectId":{"type":"string"},"data":{"type":"object","description":"Field values keyed by field name"},"ownerId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"objectApiName":{"type":"string","description":"The custom object API name"}}},"sample":{"object":"custom_object_record","id":"cmrec01","record":{"id":"cmrec01","objectId":"cmobj01","data":{"vehicle_vin":"1HGBH41JXMN109186","mileage":42000},"ownerId":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","objectApiName":"vehicle"}},{"key":"app.installed@1","type":"app.installed","version":1,"category":"Apps","description":"An app was installed or upgraded in the organization. `app` names it; `previousVersion` is set on upgrades.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"app_installation"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"appId":{"type":"string"},"versionId":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","UNINSTALLED"]},"grantedScopes":{"type":"array","items":{"type":"string"}},"installedById":{"type":"string"},"uninstalledAt":{"type":["string","null"],"format":"date-time"},"uninstalledById":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"app":{"type":"object","required":["id","slug","name","version"],"additionalProperties":false,"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"}}},"previousVersion":{"type":["string","null"],"description":"The version this upgrade replaced (app.installed only)"},"removedComponents":{"type":"integer","description":"Components removed (app.uninstalled only)"},"retainedFields":{"type":"array","items":{"type":"string"},"description":"Custom fields kept with their data, as OBJECT.name"}}},"sample":{"object":"app_installation","id":"cminst01","record":{"id":"cminst01","appId":"cmapp01","versionId":"cmappver01","status":"ACTIVE","grantedScopes":["READ_LEADS","WRITE_LEADS"],"installedById":"usr_8f2k1m","uninstalledAt":null,"uninstalledById":null,"createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","app":{"id":"cmapp01","slug":"acme-enrich","name":"Acme Enrich","version":"1.2.0"},"previousVersion":null}},{"key":"app.uninstalled@1","type":"app.uninstalled","version":1,"category":"Apps","description":"An app was uninstalled. `removedComponents` counts what was removed; `retainedFields` lists custom fields kept with their data.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"app_installation"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"appId":{"type":"string"},"versionId":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","UNINSTALLED"]},"grantedScopes":{"type":"array","items":{"type":"string"}},"installedById":{"type":"string"},"uninstalledAt":{"type":["string","null"],"format":"date-time"},"uninstalledById":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"app":{"type":"object","required":["id","slug","name","version"],"additionalProperties":false,"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"}}},"previousVersion":{"type":["string","null"],"description":"The version this upgrade replaced (app.installed only)"},"removedComponents":{"type":"integer","description":"Components removed (app.uninstalled only)"},"retainedFields":{"type":"array","items":{"type":"string"},"description":"Custom fields kept with their data, as OBJECT.name"}}},"sample":{"object":"app_installation","id":"cminst01","record":{"id":"cminst01","appId":"cmapp01","versionId":"cmappver01","status":"UNINSTALLED","grantedScopes":["READ_LEADS","WRITE_LEADS"],"installedById":"usr_8f2k1m","uninstalledAt":"2026-10-01T12:00:00.000Z","uninstalledById":"usr_8f2k1m","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","app":{"id":"cmapp01","slug":"acme-enrich","name":"Acme Enrich","version":"1.2.0"},"removedComponents":4,"retainedFields":["LEAD.acme_score"]}},{"key":"approval.approved@1","type":"approval.approved","version":1,"category":"Approvals","description":"An approval request was approved at its last step. `relatedTo` is the record (lead, contact, account, opportunity, case, task, quote, order, contract or custom:<object>).","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"approval_request"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"workflowId":{"type":"string"},"entityType":{"type":"string"},"entityId":{"type":"string"},"entityName":{"type":"string"},"status":{"type":"string","enum":["PENDING","APPROVED","REJECTED","CANCELLED","EXPIRED"]},"currentStepOrder":{"type":"integer"},"requestedById":{"type":"string"},"submittedAt":{"type":"string","format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}},"workflowName":{"type":"string","description":"The approval process"},"comment":{"type":["string","null"],"description":"The deciding approver's comment"}}},"sample":{"object":"approval_request","id":"cmapr01","record":{"id":"cmapr01","workflowId":"cmapw01","entityType":"OPPORTUNITY","entityId":"cmopp01","entityName":"Northwind expansion","status":"APPROVED","currentStepOrder":2,"requestedById":"usr_8f2k1m","submittedAt":"2026-10-01T12:00:00.000Z","completedAt":"2026-10-01T12:00:00.000Z","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","relatedTo":{"object":"opportunity","id":"cmopp01"},"workflowName":"Large deal review","comment":"Within the discount policy"}},{"key":"approval.rejected@1","type":"approval.rejected","version":1,"category":"Approvals","description":"An approval request was rejected; `comment` is the reason.","schema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["object","id","record"],"additionalProperties":false,"properties":{"object":{"const":"approval_request"},"id":{"type":"string"},"record":{"type":"object","required":["id"],"additionalProperties":true,"properties":{"id":{"type":"string"},"workflowId":{"type":"string"},"entityType":{"type":"string"},"entityId":{"type":"string"},"entityName":{"type":"string"},"status":{"type":"string","enum":["PENDING","APPROVED","REJECTED","CANCELLED","EXPIRED"]},"currentStepOrder":{"type":"integer"},"requestedById":{"type":"string"},"submittedAt":{"type":"string","format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"previous":{"type":["object","null"],"description":"The record before the change (updates only)"},"changedFields":{"type":["array","null"],"items":{"type":"string"},"description":"Fields that changed (updates only)"},"actorId":{"type":["string","null"],"description":"User who caused the event; null for system events"},"relatedTo":{"type":["object","null"],"description":"The CRM record this event is about, when there is one","required":["object","id"],"additionalProperties":false,"properties":{"object":{"type":"string"},"id":{"type":"string"}}},"workflowName":{"type":"string","description":"The approval process"},"comment":{"type":["string","null"],"description":"The deciding approver's comment"}}},"sample":{"object":"approval_request","id":"cmapr01","record":{"id":"cmapr01","workflowId":"cmapw01","entityType":"OPPORTUNITY","entityId":"cmopp01","entityName":"Northwind expansion","status":"REJECTED","currentStepOrder":1,"requestedById":"usr_8f2k1m","submittedAt":"2026-10-01T12:00:00.000Z","completedAt":"2026-10-01T12:00:00.000Z","createdAt":"2026-10-01T12:00:00.000Z","updatedAt":"2026-10-01T12:00:00.000Z"},"previous":null,"changedFields":null,"actorId":"usr_8f2k1m","relatedTo":{"object":"opportunity","id":"cmopp01"},"workflowName":"Large deal review","comment":"Discount above the policy limit"}}]}