Your Implementation Required
This endpoint must be implemented on your server
When Activities Are Created
Enginy creates activity records when:Activities are only logged for campaigns with message sync enabled. Configure this in your campaign
settings.
Subject Format
Enginy formats thesubject field to provide context about the message:
Outbound messages (from your team):
[1/3] [FROM Acme Corp] John Smith
Inbound messages (from the contact):
[TechStartup Inc] Jane Doe
Create Activity
Creates a new activity record in your CRM.Request Body
Typical
metadata keys include messageId, sequenceIndex, and sequenceMessageCount. You can store them
for traceability or ignore them.Example: Email Activity
Example: LinkedIn Outbound Message
Example: LinkedIn Inbound Reply
Response
Return the created activity with at least anid field:
Activity Schema Reference
Testing Your Activities API
1
Test Email Activity
2
Test LinkedIn Activity
3
Verify Response
Ensure your response includes an
id field:Reference Implementation
GitHub Repository
See a complete working implementation of the activities endpoint, including how to display activities in
contact/company detail pages.