segments
snapshots
Snapshot a Segment
Start a snapshot of the members of a segment. The API makes the snapshot in the background. Use Get Segment Snapshot to see its status. To snapshot an advanced segment, the account's plan must include advanced segmentation. If it does not, the API returns a 403 error. Other types of segment do not need advanced segmentation.
post/3.0/segments/{segment_id}/snapshots
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
The snapshot request that the API accepted.
Example response
{
"id": "b1b49562-5a44-4ebd-822c-5e215f66f679",
"status": "pending"
}Changes
No recorded changes to this operation across all 1 revision of this API.