Skip to main content
GET
Get a Segment
The response covers the campaign the segment belongs to, its code and externalIdentifier, and its results: totalDonors, totalGifts, totalGiftAmount, average, median, and highest gift amounts, totalVisitors, and conversionRate.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path Parameters

id
integer<int64>
required

The ID of the segment.

Response

OK

Represents a segment model.

id
integer<int64>

The unique identifier of the segment.

campaignId
integer<int64>

The unique identifier of the campaign.

campaignName
string | null

The name of the campaign.

name
string | null

The name of the segment.

description
string | null

The description of the segment.

code
string | null

The code of the segment.

externalIdentifier
string | null

An identifier of your own to store on the segment, for reconciling it with an external system.

totalDonors
integer<int32>
read-only

The number of donors who have given to the segment.

totalGifts
integer<int32>
read-only

The number of gifts recorded for the segment.

totalGiftAmount
string | null
read-only

The total amount of the gifts recorded for the segment.

averageGiftAmount
string | null
read-only

The average gift amount for the segment.

medianGiftAmount
string | null
read-only

The median gift amount for the segment.

highestGiftAmount
string | null
read-only

The largest gift amount for the segment.

totalVisitors
integer<int32>
read-only

The number of visitors recorded for the segment.

conversionRate
string | null
read-only

The share of visitors to the segment who gave.

createdDateTime
string | null
read-only

The UTC date and time the segment was created.

modifiedDateTime
string | null
read-only

The UTC date and time the segment was last modified.

Last modified on July 28, 2026