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

# Create Segment

Create a Segment in your organization given a traffic type. This action does not configure the Segment in any environment.

## Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                        |
  | ------------ | ---------------------------------------------------------------------------------- |
  | Description  | A description for the newly created segment.                                       |
  | Name         | The name for the new segment.                                                      |
  | Traffic Type | The name or id of the traffic type. for example "user" or "account" (or their id). |
  | Workspace    | The id of the workspace for the new segment.                                       |
</div>

## Example Output

```json theme={"dark"}
{
	"name": "test2",
	"description": "test",
	"trafficType": {
		"id": "4e28aeb0-c755-11ed-9886-dea06841c80c",
		"name": "account"
	},
	"creationTime": 1679375134052,
	"tags": null
}
```

## Workflow Library Example

[Create Segment with Split and Send Results Via Email](https://library.blinkops.com/workflows/create-segment-with-split-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-segment-with-split-and-send-results-via-email/canvas" />
</div>
