Get Segment by ID
This API fetches a specific segment (File or Filter) by its ID.
Rate Limit
The rate limit is 100 requests/minute, 1000 requests/hour, and 4000 requests/day.Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Data tile.
For more information on authentication and getting your credentials, refer here.
Headers
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
Path Parameters
The ID of the segment.
Response
Successful retrieval of segments. Returns a list of segments matching the query criteria. An empty list is returned if no segments match.