Skip to main content
GET
/
api
/
v1
/
workspace-members
Get List of Workspace Members
curl --request GET \
  --url https://api.zixflow.com/api/v1/workspace-members
import 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:

status
boolean
Indicates the success or failure of the workspace members retrieval. In this case, true signifies a successful operation.
message
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!”
data
array_object
An array containing details of the available workspace members. For each member in the data array:
{
  "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"
}