SmartDocumentor
  • Overview
    • SmartDocumentor
  • GETTING STARTED
    • About SmartDocumentor
    • How SmartDocumentor Works
    • Main concepts
      • Workspaces
      • Organization
    • Quickstart 101
    • Licenses
      • How to Buy?
      • Support
    • Privacy
    • Security
  • Technical
    • Initial Setup
    • Mappings
    • API Reference
      • [POST] Client Credentials Access Token
      • [GET] Task Status
      • [GET] Task Status List
      • [GET] Task Status List Paginated
      • [GET] Get Workspaces
      • [PATCH] Reprocess Task
      • [POST] Create Task
      • [POST] Create Batch
      • [GET] Get Batch
      • [GET] Get Batch Paginated
      • Transcripts
        • Speakers
          • Workspaces
            • [GET] Workspace Speakers
            • [PUT] Workspace Speakers
          • Tasks
            • [GET] Task Speakers
            • [POST] Task Speaker
            • [PUT] Task Speaker
            • [DELETE] Task Speaker
      • Invite Users
        • [GET] List Available Roles
        • Tenants
          • [GET] List All Tenant Users
          • [POST] Invite Users
        • Workspaces
          • [GET] List All Workspace Users
          • [POST] Invite Users
    • Folder Worker
    • Export
      • Webhooks
        • Webhook (Text Documents)
        • Webhook (Transcripts)
        • Webhook Url To File (Transcripts)
        • Webhook Url to File (Anonymization)
    • Changelog
  • FAQs
    • FAQs
Powered by GitBook
On this page
  • All Users
  • Example Request
  • Responses
  1. Technical
  2. API Reference
  3. Invite Users
  4. Workspaces

[GET] List All Workspace Users

Retrieves a list of all users currently associated with the authenticated tenant and workspace.

All Users

GET/api/v1.0/external/sdworkspace/allusers/{workspaceId}

Example Request

curl -X 'GET' \
  'https://cloud.smartdocumentor.net/api/v1.0/external/sdworkspace/allusers/1' \
  --header 'Authorization: Bearer {your access token here}' \
  --header 'accept: application/json'
var client = new HttpClient();

var request = new HttpRequestMessage(HttpMethod.Get, "https://cloud.smartdocumentor.net/api/v1.0/external/sdworkspace/allusers/1");
request.Headers.Add("Authorization", "Bearer {your access token here}");
request.Headers.Add("Accept", "application/json");

var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();

Console.WriteLine(await response.Content.ReadAsStringAsync());
import requests

url = "https://cloud.smartdocumentor.net/api/v1.0/external/sdworkspace/allusers/1"

headers = {
    'Authorization': 'Bearer {your access token here}',
    'Accept': 'application/json'
}

response = requests.get(url, headers=headers)

print(response.text)
const myHeaders = new Headers();
myHeaders.append("Authorization", `Bearer {your access token here}`);
myHeaders.append("Accept", "application/json");

const requestOptions = {
    method: 'GET',
    headers: myHeaders
};

fetch("https://cloud.smartdocumentor.net/api/v1.0/external/sdworkspace/allusers/1", requestOptions)
    .then(response => response.text())
    .then(result => console.log(result))
    .catch(error => console.log('error', error));

Responses

[
  {
    "id": 101,
    "roleName": "Manager",
    "name": "Name",
    "userName": "User Name",
    "email": "mail@email.com",
    "createdAt": "2022-10-17T18:03:55Z",
    "emailConfirmed": true,
    "status": "Active"
  }
]

Response Body List<ExternalUserViewModel>

Response Body ExternalUserViewModel

Name
Type
Description

id

integer

Unique identifier of the user.

roleName

string

Name of the role assigned to the user.

name

string

Full name of the user.

userName

string

Username or login of the user.

email

string

Email address of the user.

createdAt

string

Timestamp indicating when the user was created in the tenant.

emailConfirmed

boolean

Indicates whether the user's email has been confirmed.

status

string

Current status of the user in the tenant (e.g., Active, Inactive, etc).

{
  "title": "Internal Server Error",
  "status": 500,
  "detail": "A server error occurred while processing your request. Please try again later. Trace ID:"
}
PreviousWorkspacesNext[POST] Invite Users

Last updated 24 days ago

Response Body

Problem Detail JSON Object