> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Services C API overview - PFSegmentsTypes.h

> Services C API overview - PFSegmentsTypes.h

## Structures

| Structure | Description |
| - | - |
| [PFSegmentsAddPlayerTagRequest](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsaddplayertagrequest.md) | PFSegmentsAddPlayerTagRequest data model. This API will trigger a player\_tag\_added event and add a tag with the given TagName and PlayFabID to the corresponding player profile. TagName can be used for segmentation and it is limited to 256 characters. Also there is a limit on the number of tags a title can have. |
| [PFSegmentsGetAllSegmentsResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetallsegmentsresult.md) | PFSegmentsGetAllSegmentsResult data model. |
| [PFSegmentsGetPlayerSegmentsResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayersegmentsresult.md) | PFSegmentsGetPlayerSegmentsResult data model. |
| [PFSegmentsGetPlayersSegmentsRequest](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayerssegmentsrequest.md) | PFSegmentsGetPlayersSegmentsRequest data model. |
| [PFSegmentsGetPlayerTagsRequest](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayertagsrequest.md) | PFSegmentsGetPlayerTagsRequest data model. This API will return a list of canonical tags which includes both namespace and tag's name. If namespace is not provided, the result is a list of all canonical tags. TagName can be used for segmentation and Namespace is limited to 128 characters. |
| [PFSegmentsGetPlayerTagsResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayertagsresult.md) | PFSegmentsGetPlayerTagsResult data model. |
| [PFSegmentsGetSegmentResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetsegmentresult.md) | PFSegmentsGetSegmentResult data model. |
| [PFSegmentsRemovePlayerTagRequest](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsremoveplayertagrequest.md) | PFSegmentsRemovePlayerTagRequest data model. This API will trigger a player\_tag\_removed event and remove a tag with the given TagName and PlayFabID from the corresponding player profile. TagName can be used for segmentation and it is limited to 256 characters. |


## Related topics

- [Services C API overview - PFSegments.h](https://docs.xbox.com/services/playfab/api-references/c/pfsegments/pfsegments_members.md)
- [PFSegmentsGetSegmentResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetsegmentresult.md)
- [PFSegmentsGetAllSegmentsResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetallsegmentsresult.md)
- [PFSegmentsGetPlayerSegmentsResult](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayersegmentsresult.md)
- [PFSegmentsGetPlayersSegmentsRequest](https://docs.xbox.com/services/playfab/api-references/c/pfsegmentstypes/structs/pfsegmentsgetplayerssegmentsrequest.md)
