Relationships

This page describes all the APIs relating to relationships.

List All Relationships

get
/api/v3/relationships

Retrieve all student-parent relationships in the school.

This endpoint returns a paginated list of students with their associated parent IDs, providing a mapping of family relationships within the school system.

The response includes:

  • Student ID and their associated parent IDs

  • Pagination metadata

This is useful for understanding family structures and parent-child relationships.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pageinteger · min: 1Optional

The page number of results to return.

Default: 1
per_pageinteger · min: 1 · max: 200Optional

Request for how many records to return.

Default: 50
countintegerOptional

Synonym for per_page

Responses
200

successful

application/json
get
/api/v3/relationships

Get a Parent's Child Relationships

get
/api/v3/relationships/parent/{id}

Fetch the associated children to the given parent

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired

Serial database ID used to refer to a unique parent record in OpenApply

Responses
200

successful

application/json
get
/api/v3/relationships/parent/{id}

Update a Parent-Student Relationship

put
/api/v3/relationships/parent/{id}

Update the relationships between a parent and their children. Accepts an array of relationship objects, each specifying a student_id and an optional relationship role.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired

Serial database ID used to refer to a unique parent record in OpenApply

Body
Responses
200

successful

application/json
put
/api/v3/relationships/parent/{id}

Get a Student's Parent Relationships

get
/api/v3/relationships/student/{id}

Fetch the associated parents and relationship roles for the given student.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired

Serial database ID used to refer to a unique student record in OpenApply

Responses
200

successful

application/json
get
/api/v3/relationships/student/{id}

Last updated

Was this helpful?