Get Workspace Member By ID
curl --request GET \
--url https://api.zixflow.com/api/v1/workspace-members/{memberId}import requests
url = "https://api.zixflow.com/api/v1/workspace-members/{memberId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.zixflow.com/api/v1/workspace-members/{memberId}', 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/{memberId}",
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/{memberId}"
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/{memberId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zixflow.com/api/v1/workspace-members/{memberId}")
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 member 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 Workspace Member By ID
This endpoint returns selected worksapce member data
GET
/
api
/
v1
/
workspace-members
/
{memberId}
Get Workspace Member By ID
curl --request GET \
--url https://api.zixflow.com/api/v1/workspace-members/{memberId}import requests
url = "https://api.zixflow.com/api/v1/workspace-members/{memberId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.zixflow.com/api/v1/workspace-members/{memberId}', 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/{memberId}",
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/{memberId}"
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/{memberId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zixflow.com/api/v1/workspace-members/{memberId}")
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 member 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"
}
Path Params
string
required
The unique identifier of the member, allowing for precise referencing.
API Response Description:
boolean
Indicates the success or failure of the workspace member 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 member with the message
“Workspace member fetched successfully!”
object
Detailed information about the selected workspace member:
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 member 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