Skip to main content

Your Implementation Required

This endpoint must be implemented on your server
Enginy logs conversation activity (LinkedIn messages, InMails, connection requests, and emails) to your Custom CRM. Implement this endpoint so Enginy can create activity records whenever a message is sent or received.

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 the subject field to provide context about the message: Outbound messages (from your team):
Example: [1/3] [FROM Acme Corp] John Smith Inbound messages (from the contact):
Example: [TechStartup Inc] Jane Doe
The sequence index (e.g., [1/3]) indicates this is message 1 of 3 in the sequence. This helps track campaign progress.

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 an id field:
The id field is required in the response. Enginy stores this ID to prevent duplicate activity logs.

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.