List Segments

 Home /Knowledgebase / SEMSblast API /List Segments

Use the API to obtain a list of all segments in a group.


Submit an XML Request with the following details:

Post URL:


Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
groupID Int REQUIRED The ID of the group containing segments.



Data Sent Back
error Int Indicated wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.
segmentCnt Int The number of segments that have been returned.
---> segment    
--------> segmentID Int The ID of the Segment.
--------> segmentName String The friendly name of the segment.


Sample request XML



Sample response XML

               <segmentName>Test Segment 1</segmentName>
               <segmentName>Test Segment 2</segmentName>

Copyright © 2015 | Smarter eMail Marketing Solution. All rights reserved.Terms of Service | Privacy Policy