segments
Get Segment Member Count
Get the current number of members in a segment. If there is no recent count, the API calculates a new count. The request waits until the count is complete.
get/3.0/segments/{segment_id}/count
Request
- Base URLhttps://api.mailchimp.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://login.mailchimp.com/oauth2/authorizeToken URLhttps://login.mailchimp.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
segment_idstring required
The unique id for the segment.
Response
Example response
{
"count": 4213
}Changes
No recorded changes to this operation across all 1 revision of this API.