Docs

LIST Students

Endpoint

GET https://indiecourses.com/api/v1/students

(Optional) Query Parameters

email - string - Returns all students matching the email exactly

Response - 200 - Students

{
  "data": [
    {
      "id": "string",
      "name": "string",
      "email": "string",
      "courses": [
        {
          "id": "string",
          "name": "string",
          # Possible values: [pending, paid, unpaid, refund_in_process, refunded, invited]
          "order_status": "enum",
          # Possible values: [unpublished, published, rejected, removed]
          "status": "enum"
        }
      ],
    }
  ]
}

Response - 404 - Not Found

{
  "errors": {
    "message": "string"
  }
}

Response - 401 - Unauthorized

{
  "errors": {
    "message": "string"
  }
}

Sign up for future updates