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
  • Workspace Speakers
  • Path Parameters
  • Example Request
  • Responses
  1. Technical
  2. API Reference
  3. Transcripts
  4. Speakers
  5. Workspaces

[GET] Workspace Speakers

PreviousWorkspacesNext[PUT] Workspace Speakers

Last updated 4 months ago

Use this request to get information about speakers in a specific workspace.

Workspace Speakers

GET/api/v1.0/external/transcripts/speakers/workspaces/{workspaceId}

Path Parameters

Name
Type
Description

workspaceId

integer

The ID that identifies the workspace to retrieve data on. This ID is always unique and never changes after it has been created.

Example Request

curl -X 'GET' \
  'https://cloud.smartdocumentor.net/api/v1.0/external/transcripts/speakers/workspaces/1234' \
  --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/transcripts/speakers/workspaces/1234");
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/transcripts/speakers/workspaces/1234"

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/transcripts/speakers/workspaces/1234", requestOptions)
    .then(response => response.text())
    .then(result => console.log(result))
    .catch(error => console.log('error', error));

Responses

{
  "speakers": [
    {
      "speakerId": "93492c69-c385-4876-be54-4e8c461ebebc",
      "speakerName": "Some Name",
      "speakerPrefix": "Some Prefix",
      "speakerSuffix": "Some Suffix"
    }
  ]
}

Response Body ExternalWorkspaceSpeakers

Name
Type
Description

speakers

[ExternalWorkspaceSpeakerViewModel]

The list of speakers.

Response Body ExternalWorkspaceSpeakerViewModel

Name
Type
Description

speakerId

string

The unique identifier of your Speaker.

speakerName

string

The name of your Speaker.

speakerPrefix

string (optional)

Optional prefix for your Speaker.

speakerSuffix

string (optional)

Optional suffix for your Speaker.

{
  "type": "https://tools.ietf.org/html/rfc7231#section-6.6.1",
  "title": "InternalError",
  "status": 500,
  "detail": "An unexpected error occurred while retrieving speakers.",
  "instance": null,
  "extensions": {
    "traceId": "00-d5581449c3b8b2ee06b30ef0b8278997-0ed9bec6d644277e-01"
  }
}

Response Body

Problem Detail JSON Object