How many were in a segment at its last check
Read from the segment’s membership record, which is checked for everyone at least every hour and for each person within about a minute of a change: `profilesCount` as of `countedAt`, both null until it’s first checked (and for a segment never published). For the number now, ask for an audience count.
Read from the segment’s membership record, which is checked for everyone at least every hour and for each person within about a minute of a change: profilesCount as of countedAt, both null until it’s first checked (and for a segment never published). For the number now, ask for an audience count.
apiKey readAuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*string^(seg)_[0-9A-Za-z]{8}$OK
application/json- response
profilesCount*integer|nullcountedAt*|date-timecurl -X GET 'https://api.postforge.dev/v1/segments/string/membership'{ "profilesCount": 0, "countedAt": "2019-08-24T14:15:22Z"}Remove profiles from a list POST
Every address of each profile comes off the list; each one removed gets *List Left* on their timeline. Up to 1,000 profiles per call.
List the profiles in a segment GET
Who meets its conditions now, most recently seen first, a page at a time by cursor (`nextCursor` until the last page); `q` searches their name, email or phone. Read live: a big segment takes its time. 409 `segment_not_published` for the published version of a segment never published.