Skip to main content
POST
/
properties
/
search
Search properties by name or value
curl --request POST \
  --url https://api.rallyuxr.com/api/public/v1/properties/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "searchQuery": "consent",
  "propertyType": "SINGLE_SELECT",
  "first": 20,
  "after": "<string>"
}
'
{
  "results": [
    {
      "propertyId": "<string>",
      "name": "<string>",
      "propertyType": "SINGLE_SELECT",
      "description": "<string>",
      "propertyGroupId": "<string>"
    }
  ],
  "total": 123,
  "pageInfo": {
    "hasNextPage": true,
    "hasPreviousPage": true,
    "startCursor": "<string>",
    "endCursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Search for properties in the workspace

searchQuery
string
required

Text to search for across property names and values

Minimum string length: 1
Example:

"consent"

propertyType
enum<string>

Filter results by property type

Available options:
STRING,
NUMBER,
DATETIME,
BOOLEAN,
SINGLE_SELECT,
MULTI_SELECT,
LOCATION
Example:

"SINGLE_SELECT"

first
integer
default:20

The number of items to return

Required range: x <= 100
Example:

20

after
string

The cursor to start from

Response

The matching properties

results
object[]
required
total
number
required

The total number of items in your workspaces based on your search parameters

pageInfo
object
required

Information about the current page