# FlightId

**int32**  
*required*  
The flight the targeting rule applies to

---

# SegmentTargetingId

**int32**  
*required*  
Id of the Flight Segment targeting rule

---

# Response Schema

## 200 Response

```json
{
  "Id": 0,
  "FlightId": 0,
  "SegmentId": 0,
  "IsExclude": false,
  "Segment": {
    "Source": "string",
    "Name": "string",
    "Reach": {
      "Description": "string",
      "Category": "string"
    }
  }
}
```

## 400 Response

---

# Request Example

```bash
curl -X GET -H "X-Adzerk-ApiKey:<APIKEY>" "https://api.kevel.co/v1/flight/{FlightId}/segmenttargeting/{Id}"
```

# Sample Response

```json
{
  "Id": 56789,
  "FlightId": 55555,
  "SegmentId": 123456,
  "IsExclude": true,
  "Segment": {
    "Source": "audience",
    "Name": "best customers",
    "Reach": {
      "all_time": 3187463,
      "28d": 387434
    },
    "Description": "top 1% spenders in the last 30 days.",
    "Category": "CRM"
  }
}
```

---
