Canary Speech

PutGroup

PUT - /org/account/:accountId/put-group
Required Permissions:
  • scope:api

Description

Create a group

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
accountIdstring
The UUID of the account

Body Parameters

NameTypeDescription
* namestring
The name of the group.
* statusint32
The user-configurable status flag of the group.
dateCloseddate-time
The ISO-8601 timestamp of when the group 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 group.

Code Example