Application API
- NEW! - Interactive API docs, now live!
Visit api-docs.plumvoice.com to read Plum API documentation, build and test requests in our interactive API sandbox, review the responses, and share it all with your team.
Overview
Plum offers eight services for its Application REST API:
Method | Service | Description |
These API methods are designed to work with inbound phone numbers.
Authentication
All API requests authenticate using HTTP Basic Authentication. Use the same username and password that you use to login to your Dev account.
Most likely, users will be able to use built-in HTTP Basic Authentication, depending on the HTTP libraries available in the programming language they opt to use.
Examples of this for each Method are listed below.
Get ASR Value
GET
https://hosting.plumvoice.com/ws/application/getASR/{phone_number}
Returns ASR value currently set to phone number provided.
Path Parameters
Name | Type | Description |
---|---|---|
phone_number | string | 10 digit phone number Ex. 3332221111 |
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/xml, application/json |
Sample Request:
Get TTS Value
GET
https://hosting.plumvoice.com/ws/application/getTTS/{phone_number}
Returns TTS value currently set to phone number provided.
Path Parameters
Name | Type | Description |
---|---|---|
phone_number | string | 10 digit phone number Ex. 3332221111 |
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/xml, application/json |
Sample Request:
Get URL Value
GET
https://hosting.plumvoice.com/ws/application/getURL/{phone_number}
Returns URL value currently set to phone number provided.
Path Parameters
Name | Type | Description |
---|---|---|
phone_number | string | 10 digit phone number Ex. 3332221111 |
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/xml, application/json |
Sample Request:
Get ASR Options
GET
https://hosting.plumvoice.com/ws/application/getOptionsASR
Returns all currently available ASR options.
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/xml, application/json |
Sample Request:
Get TTS Options
GET
https://hosting.plumvoice.com/ws/application/getOptionsTTS
Returns all currently available TTS options.
Headers
Name | Type | Description |
---|---|---|
Accept | string | application/xml, application/json |
Sample Request:
Set ASR Value
POST
https://hosting.plumvoice.com/ws/application/setASR/{phone_number}
Sets the ASR of the given phone number to the provided ASR value.
Path Parameters
Name | Type | Description |
---|---|---|
phone_number | string | 10 digit phone number Ex. 3332221111 |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | multipart/form-data |
Accept | string | application/xml, applicaton/json |
Request Body
Name | Type | Description |
---|---|---|
asr | string | ASR value to be set |
Sample Request:
Set TTS Value
POST
https://hosting.plumvoice.com/ws/application/setTTS/{phone_number}
Sets the TTS of the given phone number to the TTS value provided.
Path Parameters
Name | Type | Description |
---|---|---|
phone_number | string | 10 digit phone number Ex. 3332221111 |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | multipart/form-data |
Accept | string | application/xml, application/json |
Request Body
Name | Type | Description |
---|---|---|
tts | string | TTS value to be set |
Sample Request:
Set URL Value
POST
https://hosting.plumvoice.com/ws/application/setURL/{phone_number}
Sets the URL of the given phone number to the provided URL value.
Path Parameters
Name | Type | Description |
---|---|---|
phone_number | string | 10 digit phone number Ex. 3332221111 |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | multipart/form-data |
Accept | string | application/xml, application/json |
Request Body
Name | Type | Description |
---|---|---|
url | string | URL value to be set |
Sample Request:
Last updated