Search

This page describes all the APIs relating to querying by student or parent attributes

Get Parents' Searchable Attributes

get
/api/v3/parents/searchable_keys

Fetch attributes that can be used for requests to /parents/search.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

successful

application/json
get
/api/v3/parents/searchable_keys
200

successful

get
/api/v3/parents/search

Return parent records that contain matching attribute/value pairs

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
parentobjectOptional

Search criteria for parents

fieldobjectOptional

Search criteria for custom fields

Responses
200

successful

application/json
get
/api/v3/parents/search

Get Students' Searchable Attributes

get
/api/v3/students/searchable_keys

Fetch attributes that can be used for requests to /students/search.

The response's root will include arrays mapped to keys in the pattern of "x_slugs" (i.e. "form_slug") where x is the scope of included elements.

For example, on the student application form ("student_slug"), or form "form_slug", supplementary forms, etc.

The elements of the array are strings (i.e. "first_name") that refer to field name that can be targeted for search.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

successful

application/json
get
/api/v3/students/searchable_keys
200

successful

get
/api/v3/students/search

Return student records that contain matching attribute/value pairs

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
studentobjectOptional

Search criteria for students

tagobjectOptional

Search criteria for tags

fieldobjectOptional

Search criteria for custom fields

fieldsstringOptional

Comma-separated list of fields to include in the response. Supports nested fields using parentheses

Example: id,name,custom_fields(parent_guardians(id,email))
Responses
200

successful

application/json
get
/api/v3/students/search

Last updated

Was this helpful?