Skip to main content
POST
Create a Saved Query
Send a name, the queryType it runs against, the groups of conditions, and the selectedColumns to return.
Call Get Query Options first to see which parameters and operators the query type supports.
The spec does not document error responses for this endpoint beyond 401, so the causes aren’t listed with the responses here. Errors still arrive in the ProblemDetails envelope the rest of the Raise API uses — handle a rejected request (400), and a path ID that doesn’t resolve (404), as you would on any other endpoint.

Authorizations

Authorization
string
header
required

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

Body

The query details to create.

queryId
integer<int64>

The unique identifier of the saved query.

name
string | null

The name of the saved query.

queryType
enum<integer>

The type of record the query returns, such as Donor or Gift.

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
groups
object[] | null

The groups of conditions that make up the query. Groups are combined by each group's conjunct.

selectedColumns
string[] | null

The result columns the query returns.

Response

OK

Last modified on July 28, 2026