Skip to main content
GET
Summarize activity

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <credential>, where the credential is either:

  • an API key (sk_…), generated by an organization admin in Settings, for scripts and automation;
  • an access token from tth auth login (the TalkToHumans CLI), which any member of the workspace can use.

Both resolve to the same organization and user. A login token acts in the user's workspace: one with no workspace yet returns 403 workspace_setup_required, and one in several workspaces returns 403 forbidden (use an API key instead).

Query Parameters

from
string

Inclusive activity window start. Use RFC3339 or YYYY-MM-DD. Date-only values are interpreted in the requested timezone.

to
string

Activity window end. Use RFC3339 or YYYY-MM-DD. A YYYY-MM-DD date is the last day included, in the requested timezone: for one week, pass its first and last days. An RFC3339 time is excluded. The response repeats the normalized exclusive instant in filters.to (or window.to for the summary) with to_exclusive: true.

timezone
string
default:UTC

IANA timezone used for date-only from and to filters. Defaults to UTC.

account_id
string[]

Filter by TalkToHumans LinkedIn account ID in activity facts. Repeat the query parameter for multiple accounts. The backend also accepts comma-separated values.

Pattern: ^[1-9][0-9]*$
user_id
string[]

Filter by TalkToHumans user ID in activity facts. Repeat the query parameter for multiple users. The backend also accepts comma-separated values.

Pattern: ^[1-9][0-9]*$
event_type
enum<string>[]

Filter by activity event type. Repeat the query parameter for multiple event types. The backend also accepts comma-separated values.

Available options:
connection_request_sent,
connection_request_accepted,
incoming_connection_request_accepted,
message_scheduled,
message_sent,
follow_up_sent,
message_received,
outbound_reply_received,
template_run_started,
template_run_replied,
content_engagers_imported
channel
string[]

Filter by activity channel, such as linkedin_message, linkedin_inmail, or linkedin_connection. Repeat the query parameter for multiple channels. The backend also accepts comma-separated values.

source
string[]

Filter by activity emitter source, such as canonical_messages, canonical_chats, canonical_sequence_steps, sequence_runner_report, or canonical_account_participants. Repeat the query parameter for multiple sources. The backend also accepts comma-separated values.

tag
string

Reserved for future tag-attributed reporting. Passing this parameter currently returns 400 bad_request.

Response

Activity summary.

data
object
required