cURL
curl --request GET \ --url https://api.embedreach.com/api/segments/{id}
{ "success": true, "message": "<string>", "data": { "id": "<string>", "name": "<string>", "description": "<string>", "createdAt": "<string>", "type": "all_users", "conditions": [ { "field": "userId", "value": [ "<string>" ], "operator": "equals" } ] } }
Get a tenant segment by id
If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.
The id of the segment
Status 200 response
The response is of type object.
object