Activity

Get the cross-channel activity timeline for a profile or company within an optional time span

get/api/v1/activity

Request

  • Base URL
    https://api.intheloop.io
  • Auth
    API key in header Authorization

Query parameters

idstring

Id of the profile or company whose activity to retrieve.

sizeinteger

Maximum number of events to return (default 20, max 100).

dateTimeStartstring date-time

Start of the time span (inclusive, UTC). When omitted, no lower limit is applied.

dateTimeEndstring date-time

End of the time span (UTC). When omitted, defaults to now.

offsetHistoryIdstring

Next page of events, taken from OffsetHistoryId of the previous response. When set, dateTimeStart and dateTimeEnd are ignored.

channelTypestring

Channel type to filter by (e.g. "messenger"). Use "commentMail" to return only comments with no channel type set (traditional email). When omitted, all channel types are returned.

Headers

Authorizationstring

Authorization header.

X-Impersonate-Userstring

Impersonation header.

Response

OK

idstring

Resource id

namestring

Resource name or title

revisionstring

Resource revision

clientIdstring

Resource client id

$typestring required
dateTimeStartstring date-time

Start of the requested time span (UTC). Null means no lower limit was applied.

dateTimeEndstring date-time

End of the requested time span (UTC). Null means the timeline ends at request time.

offsetHistoryIdstring

Cursor for the next (older) page of events. Pass it back as offsetHistoryId. Null when there are no more events.

Changes

No recorded changes to this operation across all 1 revision of this API.