List the workspace's people
curl -sS https://api.speccapture.com/v1/workspace/members \ -H "Authorization: Bearer $SPECCAPTURE_API_KEY"using System.Text.Json;
using HttpClient http = new() { BaseAddress = new Uri("https://api.speccapture.com") };http.DefaultRequestHeaders.Authorization = new("Bearer", Environment.GetEnvironmentVariable("SPECCAPTURE_API_KEY"));
HttpResponseMessage response = await Call(HttpMethod.Get, "/v1/workspace/members");Console.WriteLine(await response.Content.ReadAsStringAsync());
// Sends a request; stops with the problem's code and detail if the API refuses it.async Task<HttpResponseMessage> Call(HttpMethod method, string path, HttpContent? body = null, string? idempotencyKey = null) { using HttpRequestMessage request = new(method, path) { Content = body }; if (idempotencyKey is not null) request.Headers.Add("Idempotency-Key", idempotencyKey); HttpResponseMessage response = await http.SendAsync(request); if (!response.IsSuccessStatusCode) { JsonElement problem = await Json(response); string? detail = (problem.TryGetProperty("detail", out JsonElement text) ? text : problem.GetProperty("title")).GetString(); Console.Error.WriteLine($"{(int)response.StatusCode} {problem.GetProperty("code")}: {detail}"); Environment.Exit(1); } return response;}
// Reads an answer as JSON.static async Task<JsonElement> Json(HttpResponseMessage response) => JsonDocument.Parse(await response.Content.ReadAsStringAsync()).RootElement;import osimport sys
import requests
API = "https://api.speccapture.com"session = requests.Session()session.headers["Authorization"] = f"Bearer {os.environ['SPECCAPTURE_API_KEY']}"
def call(method, path, **kwargs): """Send a request; stop with the problem's code and detail if the API refuses it.""" response = session.request(method, API + path, **kwargs) if not response.ok: problem = response.json() sys.exit(f"{response.status_code} {problem['code']}: {problem.get('detail', problem['title'])}") return response
print(call("GET", "/v1/workspace/members").text)const API = "https://api.speccapture.com";const headers = { Authorization: `Bearer ${process.env.SPECCAPTURE_API_KEY}` };
console.log(await call("GET", "/v1/workspace/members").then((response) => response.text()));
// Sends a request; stops with the problem's code and detail if the API refuses it.async function call(method, path, init = {}) { const response = await fetch(API + path, { ...init, method, headers: { ...headers, ...init.headers } }); if (!response.ok) { const problem = await response.json(); console.error(`${response.status} ${problem.code}: ${problem.detail ?? problem.title}`); process.exit(1); } return response;}Everyone in the workspace - name, email, role (owner, admin or member) and when they joined - the owner first, then admins, then members, each by name. The whole list comes in one page, in the shape every list has: hasMore is false and nextCursor null. Read-only: people are managed in the dashboard.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
The workspace’s people, the owner first, then admins, then members: the whole list in one page, in the shape every list has, so hasMore is false and nextCursor null.
object
The workspace’s people.
One of the workspace’s people: GET /v1/workspace/members.
object
Their name as of their latest sign-in; null when the identity provider gave none.
Their email as of their latest sign-in; null when the identity provider gave none.
What they may do in the workspace.
When they joined the workspace (for its owner, when it was created).
Always false: the workspace’s people come in one page.
Always null, for the same reason.
Examples
The owner, an admin and a member
{ "data": [ { "name": "Dana Whitfield", "email": "dana.whitfield@northfield-precision.example", "role": "owner", "joinedAt": "2026-08-30T14:02:41+00:00" }, { "name": "Priya Raman", "email": "priya.raman@northfield-precision.example", "role": "admin", "joinedAt": "2026-09-02T08:15:09+00:00" }, { "name": "Luis Ortega", "email": "luis.ortega@northfield-precision.example", "role": "member", "joinedAt": "2026-09-21T13:40:52+00:00" } ], "hasMore": false, "nextCursor": null}