Canary Speech

ClientCreateAssociate

POST - /v3/reseller/client/create-associate
Required Permissions:
  • scope:reseller
  • scope:reseller.createassociate

Description

Creates an associate client under the specified client.

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
* parentIduuid
The ID of the parent client to use. If omitted, uses the client associated with the caller's API key.
* namestring
The name of the associate client.
contactobject
The contact info object for the associate client.

Successful Response

A successful response

Field NameTypeDescription
iduuid
The ID of the created associate.

Code Example

Models

contact

The contact info object for the associate client.

NameTypeDescription
emailstring
The contact email for the associate client.
phoneNumberstring
The contact phone number for the associate client.