Skip to content

GET /genders

This endpoint allows you to retrieve a list of genders

https://{{ env }}.academiclabs.com/api/v1/genders

Headers

Value Type Required Description
Authorization string required Your API_KEY received by AcademicLabs

Example

curl --location --request GET "https://sandbox.academiclabs.com/api/v1/genders" \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer Your.API.Key-HERE"

Responses

application/json

200

[
    {
        "id": 1,
        "name": "Male"
    },
    {
        "id": 2,
        "name": "Female"
    },
    {
        "id": 3,
        "name": "Trans*"
    },
    {
        "id": 4,
        "name": "Prefer not to answer"
    }
]