Reference / Members

Search members

search_membersocmgr members searchGET /v1/membersREAD

Search by name, handle, email or company. Returns names, handles, sources, first/last seen and account/link counts; no emails or profile URLs (request through get_member). seen_since includes profile observations and activity, including reactions/joins, but excludes presence; use contact.last_visited or list_presence for visits. contributed_since requires initiated activity, excluding reactions/joins. Defaults to newest last_seen; paginate with nextCursor.

Parameters

querystring

Match name, handle, company or email by whole or partial words. Omit to list all filter matches.

filtersobject

Narrow the search. Every filter is optional and they combine with AND.

has_notesboolean
source"self" | "github" | "slack" | "discourse" | "vanilla" | "bevy" | "gainsight-cc" | "gradual" | "bettermode" | "circle" | "flarum" | "verint" | "dev" | "stackoverflow" | "meetup" | "luma" | "discord" | "generic" | "csv" | "enrichment"

Only members with at least one identity on this source.

connectionstring (uuid)

The same, for one connection id.

companystring

Only members whose golden record names this company (substring, case-insensitive).

contributed_sincestring (date-time)

An activity initiated since this instant; excludes reactions, joins, presence and profile updates.

seen_sincestring (date-time)

Latest identity last_seen at or after this instant: profile observation and activity timestamps (including reactions/joins); excludes presence. Use contact.last_visited or list_presence for visits.

teamboolean | "all"

Defaults to false for community members. This excludes staff and members whose accounts are all classified as bots. true selects staff only. "all" includes everyone.

tagsstring[]

Only members carrying at least one of these tags, by name or id.

organisationstring

Only members in this organisation, by key ("domain:acme.io") or id.

segmentstring

Segment ID or name. Selects its current materialised filter matches plus manual adds, matching memberCount. ANDs with other filters.

filterobject

Segment filter tree, shared with preview_segment/create_segment; results match preview counts. Use list_segment_fields for vocabulary. Invalid trees return USAGE with the path, e.g. all[1].op. ANDs with query, filters and segment.

show_snoozedboolean

With segment, include members whose snoozed_until is in the future. False by default.

segment_statusstring

With segment, select members having this status key in that segment. Without segment, returns USAGE.

sort"last_seen" | "most_active" | "name" | "first_seen" | "impact"

last_seen (default): newest seen first; impact: 90-day contribution weights, no score returned; most_active: 12-week activity; name: alphabetical; first_seen: newest earliest-account timestamp first.

include"activity" | "accounts" | "organisation" | "tags" | "segments" | "review" | "title" | "status" | "custom"[]

Optional columns: activity (12-week histogram/total), accounts (one per source account), organisation, tags, segments (current membership), review (open account proposals), title (personal job title), status (requires segment), custom (asserted custom-field values by key). Computed together; request only what you need.

limitinteger1–200

How many rows to return, 1–200. Defaults to 25. Ask for what you will read.

cursorstring

The nextCursor from a previous page of this same call. Opaque — pass it back unchanged, never construct one.

CLI flags

--source <kind>

Only members with an identity from: self, github, slack, discourse, vanilla, bevy, gainsight-cc, gradual, bettermode, circle, flarum, verint, dev, stackoverflow, meetup, luma, discord, generic, csv, enrichment

--connection <id>

Only members with an account on this connection

--company <name>

Only members whose golden record names this company

--has-notes

Only members with unredacted notes

--no-has-notes

Only members without unredacted notes

--seen-since <date>

Profile/activity last-seen timestamp at or after this date (excludes presence)

--contributed-since <date>

Member initiated an activity at or after this date

--teamdefault

Include the workspace’s own staff (default: community only)

--no-team

Exclude staff (the default; accepted for compatibility)

--only-team

Only the workspace’s own staff

--tag <name...>

Only members carrying one of these tags

--organisation <key>

Only members in this organisation (key or id)

--segment <segment>

Only the people in this segment now (id or name)

--show-snoozed

Include future-snoozed segment members

--segment-status <key>

With --segment: only people with this status in it

--filter <json>

A filter tree in the segment language; see ocmgr segments fields

--sort <how>

One of: last_seen, most_active, name, first_seen, impact (default last_seen)

--include <group...>

Extra per-row columns: activity, accounts, organisation, tags, segments, review, title, status, custom (title is personal data)

--limit <n>

Page size (default 25, max 200)

--cursor <cursor>

Continue from a previous page (opaque)

Also in Members