List members and pending invites
curl --request GET \
--url https://scribe.skeptrune.com/api/org/members \
--cookie scribe_session=import requests
url = "https://scribe.skeptrune.com/api/org/members"
headers = {"cookie": "scribe_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'scribe_session='}};
fetch('https://scribe.skeptrune.com/api/org/members', 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://scribe.skeptrune.com/api/org/members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "scribe_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://scribe.skeptrune.com/api/org/members"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "scribe_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://scribe.skeptrune.com/api/org/members")
.header("cookie", "scribe_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://scribe.skeptrune.com/api/org/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'scribe_session='
response = http.request(request)
puts response.read_body{
"members": [
{
"userId": "usr_V1StGXR8_Z5jdHi6BmyT",
"email": "[email protected]",
"name": "Ada Lovelace",
"handle": "ada",
"avatarUrl": "/api/uploads/users/usr_V1StGXR8_Z5jdHi6BmyT/avatar",
"role": "member",
"joinedAt": 1752624000000
}
],
"invites": [
{
"id": "inv_8yUiOpAsDfGhJkLzXcVb",
"email": "[email protected]",
"role": "member",
"status": "pending",
"invitedBy": "usr_V1StGXR8_Z5jdHi6BmyT",
"createdAt": 1752624000000
}
]
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}Members
List members and pending invites
Returns every member of the organization with their role, plus pending invites. Agent users behind API keys are excluded — manage them on the API-keys endpoints. Requires a user session.
GET
/
api
/
org
/
members
List members and pending invites
curl --request GET \
--url https://scribe.skeptrune.com/api/org/members \
--cookie scribe_session=import requests
url = "https://scribe.skeptrune.com/api/org/members"
headers = {"cookie": "scribe_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'scribe_session='}};
fetch('https://scribe.skeptrune.com/api/org/members', 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://scribe.skeptrune.com/api/org/members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "scribe_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://scribe.skeptrune.com/api/org/members"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "scribe_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://scribe.skeptrune.com/api/org/members")
.header("cookie", "scribe_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://scribe.skeptrune.com/api/org/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'scribe_session='
response = http.request(request)
puts response.read_body{
"members": [
{
"userId": "usr_V1StGXR8_Z5jdHi6BmyT",
"email": "[email protected]",
"name": "Ada Lovelace",
"handle": "ada",
"avatarUrl": "/api/uploads/users/usr_V1StGXR8_Z5jdHi6BmyT/avatar",
"role": "member",
"joinedAt": 1752624000000
}
],
"invites": [
{
"id": "inv_8yUiOpAsDfGhJkLzXcVb",
"email": "[email protected]",
"role": "member",
"status": "pending",
"invitedBy": "usr_V1StGXR8_Z5jdHi6BmyT",
"createdAt": 1752624000000
}
]
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}Authorizations
Browser session cookie set by the WorkOS sign-in flow.
Response
Members and pending invites.
Merged view of organization members and pending invites.
Current members with roles.
Show child attributes
Show child attributes
Example:
[
{
"userId": "usr_V1StGXR8_Z5jdHi6BmyT",
"email": "[email protected]",
"name": "Ada Lovelace",
"handle": "ada",
"avatarUrl": "/api/uploads/users/usr_V1StGXR8_Z5jdHi6BmyT/avatar",
"role": "member",
"joinedAt": 1752624000000
}
]
Pending invites not yet accepted.
Show child attributes
Show child attributes
Example:
[
{
"id": "inv_8yUiOpAsDfGhJkLzXcVb",
"email": "[email protected]",
"role": "member",
"status": "pending",
"invitedBy": "usr_V1StGXR8_Z5jdHi6BmyT",
"createdAt": 1752624000000
}
]