This resource is used to handle all customer voicemail greetings.
GET
Mandatory parameters
Name | Type | Description |
---|---|---|
customer_id | int | Kaisa's unique ID for customer. |
Optional parameters
Name | Type | Description |
---|---|---|
vm_greeting_id | int | Voicemail greeting ID. |
Output
Name | Type | Description |
---|---|---|
name | string | Greeting name. |
timestamp | string | Greeting creation timestamp (UTC). |
datalength | int | Length of sounddata. |
locked | int | 1 if system greeting. |
used_by | array | Array with source_id’s used by this greeting. |
customer_id | int | Kaisa's unique ID for customer, null if system greeting. |
vm_greeting_id | int | Voicemail greeting ID. |
*sounddata | blob | Sound data in mp3 format, base64 encoded. |
* Only outputted if vm_greeting_id is specified.
POST
Mandatory parameters
Name | Type | Description |
---|---|---|
customer_id | int | Kaisa's unique ID for customer. |
name | string | Greeting name. |
Optional parameters
None.
Output
Name | Type | Description |
---|---|---|
record_number | string | Phone number for recording new greeting. |
record_pin | int | Pin-code needed to record new greeting. |
Same as GET.
PUT
Mandatory parameters
Name | Type | Description |
---|---|---|
customer_id | int | Kaisa's unique ID for customer. |
vm_greeting_id | int | Voicemail greeting ID. |
name | string | Greeting name. |
Optional parameters
None.
Output
Same as GET.
DELETE
Mandatory parameters
Name | Type | Description |
---|---|---|
customer_id | int | Kaisa's unique ID for customer. |
vm_greeting_id | int | Voicemail greeting ID. |
Optional parameters
None.
Output
N/A.
Comments
0 comments
Please sign in to leave a comment.