Query Segments
Segment
Query Segments
POST
Query Segments
Authorizations
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Body
The query request model.
- Option 1
- Option 2
Request body for advanced query endpoints such as donor and campaign queries.
Field to sort by (case-insensitive). Valid options: createdate, createddatetime, email, firstname, gifts, giftsum, id, lastname, modifieddatetimeutc, name, phone
Available options:
createdate, createddatetime, email, firstname, gifts, giftsum, id, lastname, modifieddatetimeutc, name, phone Example:
"createdate"
The logical type of query being executed.
Available options:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 The groups of conditions that make up the query.
The list of result columns to return for each item.
Last modified on June 5, 2026