Update an voice mail

POST /update
Update an voice mail
Path parameters
  • access_token

    string

    required

    token to be passed as a header

    minLength: 64

    maxLength: 64

Request body
application/json
  • extension_number

    string

    required

    Extension number of voicemail.
  • voice_mail_not_save_if_less_seconds

    integer

    required

    The minimum length of a voicemail, in seconds. Any callings shorter than this value will not be saved as voicemail.
  • auto_cleaning_voicemail_days

    integer

    required

    Duration the voicemail will be kept before auto deleted, in days.

Sample Request

                      curl -v -X POST http://127.0.0.1:8990/api/voice_mail/update \
                        -H "Content-Type: application/json" \
                        -H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
                          -d '{}'
                      
                    

Responses

200
Successful operation

Sample Response

                      
                      
                    

Retrieve voice mail

GET /show
Retrieve voice mail
Path parameters
  • access_token

    string

    required

    token to be passed as a header

    minLength: 64

    maxLength: 64

Sample Request

                      curl -v -X GET http://127.0.0.1:8990/api/voice_mail/show \
                        -H "Content-Type: application/json" \
                        -H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
                      
                    

Responses

200
Successful operation
application/json
  • used_voicemail_quota

    integer

    Storage space for voicemail.
  • extension_number

    string

    Extension number of voicemail.
  • voice_mail_not_save_if_less_seconds

    integer

    The minimum length of a voicemail, in seconds. Any callings shorter than this value will not be saved as voicemail.
  • auto_cleaning_voicemail_days

    integer

    Duration the voicemail will be kept before auto deleted, in days.

Sample Response

                      
{}