curl -X POST \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: Bearer YOUR_API_KEY" \
--data '{"connection_id": "uuid", "to": "+18005551212", "from": "+18005551200"}' \
https://api.plura.ai/v1/calls
import plura
plura.api_key = "YOUR_API_KEY"
plura.Call.create(connection_id="uuid", to="+18005551212", from_="+18005551200")
require "plura"
Plura.api_key = "YOUR_API_KEY"
Plura::Call.create(connection_id: "uuid", to: "+18665551212", from: "+18665551200")
import plura = require("plura")("YOUR_API_KEY");
const { data: numberOrder } = await plura.numberOrder.create({
phone_numbers:[{"phone_number": "+18665551212"}]
});
console.log(numberOrder);
PluraConfiguration.SetApiKey('YOUR_API_KEY');
var service = new CallControlAnswerService();
var options = new CallControlDialOptions {
To = "+18005551212 or SIP:username@sip.plura.ai",
From = "+18005551200",
ConnectionId = "string"
};
service.Dial(options);
PluraConfiguration.SetApiKey('YOUR_API_KEY');
var service = new CallControlAnswerService();
var options = new CallControlDialOptions {
To = "+18005551212 or SIP:username@sip.plura.ai",
From = "+18005551200",
ConnectionId = "string"
};
service.Dial(options);