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.vxml.sharpencx.com/ws/application/getASR/{phone_number}
Returns ASR value currently set to phone number provided.
Path Parameters
phone_number
string
10 digit phone number Ex. 3332221111
Headers
Accept
string
application/xml, application/json
Sample Request:
Get TTS Value
GET https://hosting.vxml.sharpencx.com/ws/application/getTTS/{phone_number}
Returns TTS value currently set to phone number provided.
Path Parameters
phone_number
string
10 digit phone number Ex. 3332221111
Headers
Accept
string
application/xml, application/json
Sample Request:
Get URL Value
GET https://hosting.vxml.sharpencx.com/ws/application/getURL/{phone_number}
Returns URL value currently set to phone number provided.
Path Parameters
phone_number
string
10 digit phone number Ex. 3332221111
Headers
Accept
string
application/xml, application/json
Sample Request:
Get ASR Options
GET https://hosting.vxml.sharpencx.com/ws/application/getOptionsASR
Returns all currently available ASR options.
Headers
Accept
string
application/xml, application/json
Sample Request:
Get TTS Options
GET https://hosting.vxml.sharpencx.com/ws/application/getOptionsTTS
Returns all currently available TTS options.
Headers
Accept
string
application/xml, application/json
Sample Request:
Set ASR Value
POST https://hosting.vxml.sharpencx.com/ws/application/setASR/{phone_number}
Sets the ASR of the given phone number to the provided ASR value.
Path Parameters
phone_number
string
10 digit phone number Ex. 3332221111
Headers
Content-type
string
multipart/form-data
Accept
string
application/xml, applicaton/json
Request Body
asr
string
ASR value to be set
Sample Request:
Set TTS Value
POST https://hosting.vxml.sharpencx.com/ws/application/setTTS/{phone_number}
Sets the TTS of the given phone number to the TTS value provided.
Path Parameters
phone_number
string
10 digit phone number Ex. 3332221111
Headers
Content-type
string
multipart/form-data
Accept
string
application/xml, application/json
Request Body
tts
string
TTS value to be set
Sample Request:
Set URL Value
POST https://hosting.vxml.sharpencx.com/ws/application/setURL/{phone_number}
Sets the URL of the given phone number to the provided URL value.
Path Parameters
phone_number
string
10 digit phone number Ex. 3332221111
Headers
Content-type
string
multipart/form-data
Accept
string
application/xml, application/json
Request Body
url
string
URL value to be set
Sample Request:
Last updated