Inbound Numbers

Add an Inbound Phone Number

Method: POST

URL: https://go.votomobile.org/api/v1/phone_numbers

Parameters:

  • api_key
  • phone_number : the phone number you are submitting in international format, starting with the country code

Returns:

ID of the phone number

{
            status: 200
            code: 2022
            data: {
                    id: 21
                    phone: "233244209192"
                    activation_method: "sms"
                    status: "pending"
                    activation_code: "Sent Via SMS"
                    activation_url: "go.votomomobile.org/api/v1/phone_numbers/21/activate"
                    status_url: "go.votomomobile.org/api/v1/phone_numbers/21/status"
            }
            message: "Phone number submitted successfully. An activation code has been sent to your phone using the sms method you specified"
            more_info: ""
    }

Send Activation Code

Method: POST

URL: https://go.votomobile.org/api/v1/phone_numbers/[phone_number_id]/activate/send

Parameters:

  • api_key

Returns

{
        status: 200
        code: 2027
        data: null
        message: "Phone number validated sucessfully. You can now create incoming apps with you custom phone number."
        more_info: ""
}

Activate Phone Number

Method: POST

URL: https://go.votomobile.org/api/v1/phone_numbers/[phone_number_id]/activate

Parameters:

  • api_key
  • activation_code : the activation code you received via SMS

Setting up Local Numbers using Android with Telerivet and VOTO

Click to download an integration guide for linking Telerivet phone numbers with your VOTO account.