Create Segment and Read Statistics
A 3-step recipe with Omnisend. We can help you get access.
Recipe · 3 steps
Create Segment and Read Statistics
with Omnisend
Create a segment, verify it, and read its statistics.
- Create the segment. Returns 201 Created with the segment id.
- Read the segment back by id to confirm it persisted.
- Retrieve the segment statistics to see how many contacts it captures.
What you'll need to have ready
- apiKey: The Omnisend API key sent in the X-API-KEY header.
- name: The segment name.
- filter: The segment filter definition.
For your developer
Arazzo workflow omnisend:create-segment-and-stats, 3 operations: {$sourceDescriptions.omnisendApi.url}#/paths/~1segments/post → {$sourceDescriptions.omnisendApi.url}#/paths/~1segments~1{segmentId}/get → {$sourceDescriptions.omnisendApi.url}#/paths/~1segments~1{segmentId}~1statistics/get. Specs on APIs.io.