Canary Speech

CreateSubject

POST - /v3/api/create-subject
Required Permissions:
  • scope:api
  • scope:api.createsubject

Description

Creates a subject. There is a limit on the number of subjects per project.

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...
Content-Type
The content type for this request.
application/json

Body Parameters

NameTypeDescription
* projectIduuid
The project ID under which the subject should be created.
* namestring
The name for the subject.
firstNamestring
middleNamestring
lastNamestring
prefixstring
suffixstring
aliasstring
dateOfBirthstring
emailstring
phoneNumberstring

Successful Response

A successful response

Field NameTypeDescription
iduuid
The ID of the subject.

Code Example