List campaign activities
Activities of the campaign, newest first, 30 per page. page is ZERO based; an empty array means you reached the end. Results are cached for up to 10 minutes. Filters: contactId wins over search, which wins over query. When query is an exact email, the type filters are ignored.
Request
- Base URL: https://api.emelia.io
- URL: https://api.emelia.io/advanced/campaigns/{campaignId}/activities
- Auth: API key in header Authorization
Path parameters
MongoDB ObjectId: 24 hexadecimal characters.
Identifier of a multichannel campaign (24 hexadecimal characters), as returned by POST /advanced/campaigns or GET /advanced/campaigns.
Query parameters
Activity event of a multichannel campaign. SENT, OPENED, CLICKED, BOUNCED, UNSUBSCRIBED, MAIL_REPLIED are email events; VISITED, INVITED, ACCEPTED, MESSAGE_SENT, INMAIL_SENT, LIKED, FOLLOWED, LINKEDIN_REPLIED are LinkedIn events. RE_REPLY and FAILED_ACTION are never returned by the activities route.
Single event filter. MESSAGE_SENT also returns INMAIL_SENT.
Comma separated events, for example MAIL_REPLIED,LINKEDIN_REPLIED. Wins over type.
MongoDB ObjectId: 24 hexadecimal characters.
Search contacts by name, email or LinkedIn URL.
Legacy filter: an exact email address.
Response
Success.
Example response
{
"activities": [
{
"_id": "6650f1a2b839d80011c5a0f1"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.