GET
/
api
/
segments
/
{id}
Get Tenant Segment
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"
      }
    ]
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Path Parameters

id
string
required

The id of the segment

Response

200
application/json

Status 200 response

The response is of type object.