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:
Indicates the success or failure of the workspace members retrieval. In this case,
true signifies a successful operation.
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!”
An array containing details of the available workspace members. For each member
in the data array:
Show data
Show data
The unique identifier of the workspace to which the member belongs.
The unique identifier of the member, allowing for precise referencing.
The URL of the member’s profile picture, if available.
The full name of the member, providing a clear identification.
The email address of the member.
The phone number of the member.
The role of the member in the workspace, such as OWNER, ADMIN, or MEMBER.
The status of the member, such as INVITED, SUSPENDED, or ACTIVE.
The timezone of the member.
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