Record a synthesized greeting
This records a new synthesized greeting based on your script and voice choice.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/greetings/record
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied error will be returned.
Parameters
| Parameter | Type | Default |
|---|---|---|
|
unit_id The ID of the unit |
Integer | null |
|
script Required The text you wish to record |
String | null |
|
voice Required The voice to record in |
String | null |
|
name Required The name for the recording |
String | null |
Errors
| Error | Attributes |
|---|---|
|
UnitNotFound The given unit was not found |
|
Response Data
This action will return a uploaded file structure.
You'll receive all attributes for this structure (basic and extended attributes).