Get List of Workspace Members
curl --request GET \
--url https://api.zixflow.com/api/v1/workspace-membersimport requests
url = "https://api.zixflow.com/api/v1/workspace-members"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.zixflow.com/api/v1/workspace-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://api.zixflow.com/api/v1/workspace-members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.zixflow.com/api/v1/workspace-members"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.zixflow.com/api/v1/workspace-members")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zixflow.com/api/v1/workspace-members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Workspace members fetched successfully!",
"data": [
{
"workspaceId": "652e5068c33fe13b6ba00fd7",
"userId": "652e5068c33fe1cd1da00fda",
"avatar": "",
"fullName": "User Name",
"email": "user@zixflow.com",
"phone": "9190909090",
"userType": "OWNER",
"userStatus": "ACTIVE",
"timezone": "Asia/Kolkata",
"deactivated": false
}
]
}
{
"status": false,
"message": "No token provided"
}
Workspace Members
Get List of Workspace Members
This endpoint returns all worksapce member details
GET
/
api
/
v1
/
workspace-members
Get List of Workspace Members
curl --request GET \
--url https://api.zixflow.com/api/v1/workspace-membersimport requests
url = "https://api.zixflow.com/api/v1/workspace-members"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.zixflow.com/api/v1/workspace-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://api.zixflow.com/api/v1/workspace-members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.zixflow.com/api/v1/workspace-members"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.zixflow.com/api/v1/workspace-members")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zixflow.com/api/v1/workspace-members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Workspace members fetched successfully!",
"data": [
{
"workspaceId": "652e5068c33fe13b6ba00fd7",
"userId": "652e5068c33fe1cd1da00fda",
"avatar": "",
"fullName": "User Name",
"email": "user@zixflow.com",
"phone": "9190909090",
"userType": "OWNER",
"userStatus": "ACTIVE",
"timezone": "Asia/Kolkata",
"deactivated": false
}
]
}
{
"status": false,
"message": "No token provided"
}
API Response Description:
boolean
Indicates the success or failure of the workspace members retrieval. In this case,
true signifies a successful operation.
string
Provides a human-readable message accompanying the response. In this instance,
it confirms the successful retrieval of the workspace members with the message
“Workspace members fetched successfully!”
array_object
An array containing details of the available workspace members. For each member
in the data array:
Show data
Show data
string
The unique identifier of the workspace to which the member belongs.
string
The unique identifier of the member, allowing for precise referencing.
string
The URL of the member’s profile picture, if available.
string
The full name of the member, providing a clear identification.
string
The email address of the member.
string
The phone number of the member.
string
The role of the member in the workspace, such as OWNER, ADMIN, or MEMBER.
string
The status of the member, such as INVITED, SUSPENDED, or ACTIVE.
string
The timezone of the member.
boolean
Indicates whether the member is deactivated or suspended (true/false).
{
"status": true,
"message": "Workspace members fetched successfully!",
"data": [
{
"workspaceId": "652e5068c33fe13b6ba00fd7",
"userId": "652e5068c33fe1cd1da00fda",
"avatar": "",
"fullName": "User Name",
"email": "user@zixflow.com",
"phone": "9190909090",
"userType": "OWNER",
"userStatus": "ACTIVE",
"timezone": "Asia/Kolkata",
"deactivated": false
}
]
}
{
"status": false,
"message": "No token provided"
}
⌘I