Per-row results
curl --request GET \
--url http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 501,
"row_number": 2,
"name": "Alex Patel",
"email": "alex@example.edu",
"contact_number": "5551234567",
"status": "failed",
"result_code": "account_exists",
"message": "This athlete already has a MOGL account. Invite them by email instead.",
"athlete_id": null,
"processed_at": "2026-10-14 10:15:05"
}
],
"links": {},
"meta": {
"current_page": 1,
"last_page": 10,
"per_page": 15,
"total": 150
}
}Per-row results
Row outcomes in file order, for the error review. Use status=failed for the rows that need attention.
GET
/
agent
/
roster-imports
/
{importId}
/
rows
Per-row results
curl --request GET \
--url http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost/mogl/mogl-backend/api/agent/roster-imports/{importId}/rows")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 501,
"row_number": 2,
"name": "Alex Patel",
"email": "alex@example.edu",
"contact_number": "5551234567",
"status": "failed",
"result_code": "account_exists",
"message": "This athlete already has a MOGL account. Invite them by email instead.",
"athlete_id": null,
"processed_at": "2026-10-14 10:15:05"
}
],
"links": {},
"meta": {
"current_page": 1,
"last_page": 10,
"per_page": 15,
"total": 150
}
}Authorizations
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Path Parameters
Example:
12
Query Parameters
Available options:
pending, succeeded, failed Example:
"failed"
Example:
"account_exists"
Example:
1
Items per page (default 25)
Example:
25