List workspace members
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/members \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.alana.shopping/api/workspace/{workspaceId}/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.alana.shopping/api/workspace/{workspaceId}/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://app.alana.shopping/api/workspace/{workspaceId}/members",
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 := "https://app.alana.shopping/api/workspace/{workspaceId}/members"
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("https://app.alana.shopping/api/workspace/{workspaceId}/members")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.alana.shopping/api/workspace/{workspaceId}/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"members": [
{
"id": "member_1a2b3c",
"workspace_id": "ws_1a2b3c4d",
"user_id": "user_xyz789",
"role": "owner",
"status": "active",
"invited_email": null,
"user_email": "owner@acme.com",
"user_full_name": "John Doe",
"user_avatar_url": "https://cdn.alana.shopping/avatars/user_xyz789.jpg",
"has_2fa": true,
"joined_at": "2024-01-10T08:00:00Z",
"created_at": "2024-01-10T08:00:00Z"
}
],
"pending_invites": [
{
"id": "member_2d3e4f",
"workspace_id": "ws_1a2b3c4d",
"user_id": null,
"role": "editor",
"status": "invited",
"invited_email": "editor@acme.com",
"invited_by": "user_xyz789",
"invited_at": "2024-02-10T14:00:00Z",
"created_at": "2024-02-10T14:00:00Z"
}
],
"pagination": {
"limit": 50,
"has_more": false
}
}{
"error": "UNAUTHORIZED",
"details": {
"message": "Missing or invalid authentication token"
}
}{
"error": "FORBIDDEN",
"details": {
"message": "User does not have permission to access this resource"
}
}{
"error": "INTERNAL_SERVER_ERROR",
"details": {
"message": "An unexpected error occurred"
}
}Listar Membros
Retrieve active members and pending invitations for the workspace
GET
/
api
/
workspace
/
{workspaceId}
/
members
List workspace members
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/members \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.alana.shopping/api/workspace/{workspaceId}/members"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.alana.shopping/api/workspace/{workspaceId}/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://app.alana.shopping/api/workspace/{workspaceId}/members",
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 := "https://app.alana.shopping/api/workspace/{workspaceId}/members"
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("https://app.alana.shopping/api/workspace/{workspaceId}/members")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.alana.shopping/api/workspace/{workspaceId}/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"members": [
{
"id": "member_1a2b3c",
"workspace_id": "ws_1a2b3c4d",
"user_id": "user_xyz789",
"role": "owner",
"status": "active",
"invited_email": null,
"user_email": "owner@acme.com",
"user_full_name": "John Doe",
"user_avatar_url": "https://cdn.alana.shopping/avatars/user_xyz789.jpg",
"has_2fa": true,
"joined_at": "2024-01-10T08:00:00Z",
"created_at": "2024-01-10T08:00:00Z"
}
],
"pending_invites": [
{
"id": "member_2d3e4f",
"workspace_id": "ws_1a2b3c4d",
"user_id": null,
"role": "editor",
"status": "invited",
"invited_email": "editor@acme.com",
"invited_by": "user_xyz789",
"invited_at": "2024-02-10T14:00:00Z",
"created_at": "2024-02-10T14:00:00Z"
}
],
"pagination": {
"limit": 50,
"has_more": false
}
}{
"error": "UNAUTHORIZED",
"details": {
"message": "Missing or invalid authentication token"
}
}{
"error": "FORBIDDEN",
"details": {
"message": "User does not have permission to access this resource"
}
}{
"error": "INTERNAL_SERVER_ERROR",
"details": {
"message": "An unexpected error occurred"
}
}Autorizações
Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>
Parâmetros de caminho
The workspace ID
Pattern:
^ws_[a-z0-9]+$Parâmetros de consulta
Intervalo obrigatório:
1 <= x <= 100Opções disponíveis:
active, invited, suspended Opções disponíveis:
owner, admin, editor, moderator, analyst, viewer Última modificação em 16 de fevereiro de 2026
⌘I