POST
/
segment
/
create
cURL
curl --request POST \
  --url https://api.precallai.com/api/v1/segment/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "name": "<string>",
  "description": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Segment to add

name
string
required

The name of the Contact

description
string
required

The description of the Contact

Response

Segment response

name
string
required

The name of the Contact

description
string
required

The description of the Contact