Canary Speech

GetSubject

GET - /org/subject/:subjectId
Required Permissions:
  • scope:api

Description

Get a subject

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...

Path Parameters

NameTypeDescription
subjectIdstring
The UUID of the subject

Successful Response

A successful response

Field NameTypeDescription
UUIDuuid
The UUID of this subject.
groupUUIDs
array<string>
The list of parent groups associated with this subject.
namestring
The name of this subject.
aliasstring
The alias of this subject.
statusint32
The status code of this subject.
dateCreateddate-time
The ISO-8601 timestamp of when this subject was created.
dateCloseddate-time
The ISO-8601 timestamp of when this subject was closed.
extraDataobject
Any additional optional metadata associated with this subject.

Code Example