Skip to main content
PUT
/
api
/
Segment
/
{segmentId}
Update a Segment
curl --request PUT \
  --url https://api.virtuoussoftware.com/api/Segment/{segmentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "code": "<string>",
  "description": "<string>",
  "totalContacts": "<integer>",
  "contactQueryId": "<integer>",
  "costPerContact": "<double>",
  "packageCode": "<string>",
  "packageDescription": "<string>",
  "receiptSegmentId": "<integer>",
  "segmentOrganizerId": "<integer>"
}
'
{
  "id": "<integer>",
  "name": "<string>",
  "description": "<string>",
  "code": "<string>",
  "communicationId": "<integer>",
  "communicationName": "<string>",
  "campaignId": "<integer>",
  "campaignName": "<string>",
  "segmentOrganizerId": "<integer>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

segmentId
string
required

(Required) The segment identifier.

Body

application/json
name
string
code
string
description
string
totalContacts
string
contactQueryId
string
costPerContact
string
packageCode
string
packageDescription
string
receiptSegmentId
string
segmentOrganizerId
string

Response

200 - application/json

OK

id
string
name
string
description
string
code
string
communicationId
string
communicationName
string
campaignId
string
campaignName
string
segmentOrganizerId
string
Last modified on June 5, 2026