Handle Inbound Run
curl --request POST \
--url https://api.peachdeskai.com/api/v1/telephony/inbound/runimport requests
url = "https://api.peachdeskai.com/api/v1/telephony/inbound/run"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.peachdeskai.com/api/v1/telephony/inbound/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.peachdeskai.com/api/v1/telephony/inbound/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.peachdeskai.com/api/v1/telephony/inbound/run"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.peachdeskai.com/api/v1/telephony/inbound/run")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.peachdeskai.com/api/v1/telephony/inbound/run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodymain
Handle Inbound Run
Workflow-agnostic inbound dispatcher.
All providers can point a single webhook at this endpoint instead of one
URL per workflow. The dispatcher resolves the org from the webhook’s
account_id and the workflow from the called number’s
inbound_workflow_id. This is what configure_inbound writes into
each provider’s resource so per-workflow webhook bookkeeping disappears.
Provider-specific signature/timestamp headers are not enumerated here —
each provider’s verify_inbound_signature reads its own headers from
the dict, so adding a new provider doesn’t require changes to this route.
POST
/
api
/
v1
/
telephony
/
inbound
/
run
Handle Inbound Run
curl --request POST \
--url https://api.peachdeskai.com/api/v1/telephony/inbound/runimport requests
url = "https://api.peachdeskai.com/api/v1/telephony/inbound/run"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.peachdeskai.com/api/v1/telephony/inbound/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.peachdeskai.com/api/v1/telephony/inbound/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.peachdeskai.com/api/v1/telephony/inbound/run"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.peachdeskai.com/api/v1/telephony/inbound/run")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.peachdeskai.com/api/v1/telephony/inbound/run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyResponse
Successful Response

