Canary Speech

PutSubject

PUT - /org/group/:groupId/put-subject
Required Permissions:
  • scope:api

Description

Create 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
groupIdstring
The UUID of the group

Body Parameters

NameTypeDescription
* namestring
The name of the subject.
aliasstring
The alias of the subject.
* statusint32
The user-configurable status flag of the subject.
dateCloseddate-time
The ISO-8601 timestamp of when the subject was closed, if applicable.
extraDataobject
Additional user-configurable metadata of the subject.

Successful Response

A successful response

Field NameTypeDescription
uuiduuid
The ID of the uploaded subject.

Code Example