List team invitations
curl --request GET \
--url https://mill-api.example.com/api/auth/invitations \
--cookie mill_session=import requests
url = "https://mill-api.example.com/api/auth/invitations"
headers = {"cookie": "mill_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'mill_session='}};
fetch('https://mill-api.example.com/api/auth/invitations', 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 => "https://mill-api.example.com/api/auth/invitations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "mill_session=",
]);
$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 := "https://mill-api.example.com/api/auth/invitations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "mill_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mill-api.example.com/api/auth/invitations")
.header("cookie", "mill_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://mill-api.example.com/api/auth/invitations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'mill_session='
response = http.request(request)
puts response.read_body{
"items": [],
"hasMore": false,
"nextCursor": null
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}List team invitations
Lists unexpired invitations, including accepted or revoked entries, with cursor pagination. Use nextCursor unchanged; a cursor from another team is rejected.
GET
/
api
/
auth
/
invitations
List team invitations
curl --request GET \
--url https://mill-api.example.com/api/auth/invitations \
--cookie mill_session=import requests
url = "https://mill-api.example.com/api/auth/invitations"
headers = {"cookie": "mill_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'mill_session='}};
fetch('https://mill-api.example.com/api/auth/invitations', 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 => "https://mill-api.example.com/api/auth/invitations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "mill_session=",
]);
$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 := "https://mill-api.example.com/api/auth/invitations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "mill_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mill-api.example.com/api/auth/invitations")
.header("cookie", "mill_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://mill-api.example.com/api/auth/invitations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'mill_session='
response = http.request(request)
puts response.read_body{
"items": [],
"hasMore": false,
"nextCursor": null
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}A signed-in human administrator is required. API keys and MCP credentials cannot replace that session. Sensitive operations can also require recent authentication.
Lists unexpired invitations, including accepted or revoked entries, with cursor pagination. Use
nextCursor unchanged; a cursor from another team is rejected.
Request conventions · API keys · MCP connectionsAuthorizations
Signed-in human browser session; mutation requests also need the exact UI Origin
Query Parameters
integer
Required range:
1 <= x <= 100uuid
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Was this page helpful?
