Loading...

POST   https://api.3seventy.com/api/v2.1/account/{accountId}/long-code/{longCode}/bridgecalls

Description

Allows you to Bridge calls between two phone numbers using your Longcode

Path Parameters

accountId integer Account ID of the long code. required
longCode string Long code (From phone number) in the following format Ex.1xxxxxxxxxx required

Request Properties application/json

PhoneNumber1 string First phone number in the bridge required
PhoneNumber2 string Second phone number in the bridge required
{
  "PhoneNumber1": "+1512xxxxxxx",
  "PhoneNumber2": "+1512xxxxxxx"
}

C#


using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

const string longCode = "1XXXXXXXXXX";

var item = new BridgeCall()
{

PhoneNumber1 = "+1XXXXXXXXXX",

PhoneNumber2 = "+1XXXXXXXXXX"

};

var context = new VoiceRestContext();

context.BridgeCall(accountId, longCode, item);

}

}