SendVoiceBrandedCallingLOAAPI mirrors erdo_voice_branded_calling_loa: it
curl --request POST \
--url https://api.erdo.ai/v1/voice/branded-calling/loa/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"letter_fingerprint": "<string>",
"signer_email": "<string>",
"signer_name": "<string>"
}
'import requests
url = "https://api.erdo.ai/v1/voice/branded-calling/loa/send"
payload = {
"letter_fingerprint": "<string>",
"signer_email": "<string>",
"signer_name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
letter_fingerprint: '<string>',
signer_email: '<string>',
signer_name: '<string>'
})
};
fetch('https://api.erdo.ai/v1/voice/branded-calling/loa/send', 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.erdo.ai/v1/voice/branded-calling/loa/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'letter_fingerprint' => '<string>',
'signer_email' => '<string>',
'signer_name' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.erdo.ai/v1/voice/branded-calling/loa/send"
payload := strings.NewReader("{\n \"letter_fingerprint\": \"<string>\",\n \"signer_email\": \"<string>\",\n \"signer_name\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.erdo.ai/v1/voice/branded-calling/loa/send")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"letter_fingerprint\": \"<string>\",\n \"signer_email\": \"<string>\",\n \"signer_name\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/branded-calling/loa/send")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"letter_fingerprint\": \"<string>\",\n \"signer_email\": \"<string>\",\n \"signer_name\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"approved_at": "2023-11-07T05:31:56Z",
"default_display_name": "<string>",
"default_signer": {
"email": "<string>",
"name": "<string>"
},
"inputs": {
"call_reason": "<string>",
"consent_description": "<string>",
"daily_call_volume": 123,
"display_name": "<string>",
"employee_count": 123,
"use_case_category": "<string>",
"use_case_description": "<string>"
},
"inputs_digest": "<string>",
"last_polled_at": "2023-11-07T05:31:56Z",
"legal_name": "<string>",
"loa": {
"filename": "<string>",
"source": "<string>",
"uploaded_at": "2023-11-07T05:31:56Z"
},
"loa_letter_fingerprint": "<string>",
"loa_signature": {
"delivery_error": "<string>",
"delivery_status": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sent_at": "2023-11-07T05:31:56Z",
"signed_at": "2023-11-07T05:31:56Z",
"signed_name": "<string>",
"signed_title": "<string>",
"signer_email_masked": "<string>",
"signer_name": "<string>",
"signing_url": "<string>",
"status": "<string>",
"stored": true,
"voided_reason": "<string>"
},
"logo_url": "<string>",
"missing_inputs": [
"<string>"
],
"missing_profile_fields": [
"<string>"
],
"next_step": "<string>",
"not_registerable_reason": "<string>",
"numbers": [
{
"agent_name": "<string>",
"agent_ref": "<string>",
"agent_slug": "<string>",
"assign_error": "<string>",
"assignment": "<string>",
"eligible": true,
"not_eligible_reason": "<string>",
"phone_number": "<string>"
}
],
"out_of_date": true,
"price_per_call_usd": "<string>",
"profile_unavailable": true,
"reason": "<string>",
"registerable": true,
"registered_call_reason": "<string>",
"registered_display_name": "<string>",
"requested_at": "2023-11-07T05:31:56Z",
"review_status": "<string>",
"status": "<string>",
"use_case_categories": [
"<string>"
]
}{
"code": "not_found",
"details": {},
"message": "<string>"
}API Reference
SendVoiceBrandedCallingLOAAPI mirrors erdo_voice_branded_calling_loa: it
emails the pre-filled letter to the signer (the business profile’s representative unless one is named) to sign electronically, and returns the branded calling state with `loa_signature`. Org admins only.
POST
/
v1
/
voice
/
branded-calling
/
loa
/
send
SendVoiceBrandedCallingLOAAPI mirrors erdo_voice_branded_calling_loa: it
curl --request POST \
--url https://api.erdo.ai/v1/voice/branded-calling/loa/send \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"letter_fingerprint": "<string>",
"signer_email": "<string>",
"signer_name": "<string>"
}
'import requests
url = "https://api.erdo.ai/v1/voice/branded-calling/loa/send"
payload = {
"letter_fingerprint": "<string>",
"signer_email": "<string>",
"signer_name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
letter_fingerprint: '<string>',
signer_email: '<string>',
signer_name: '<string>'
})
};
fetch('https://api.erdo.ai/v1/voice/branded-calling/loa/send', 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.erdo.ai/v1/voice/branded-calling/loa/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'letter_fingerprint' => '<string>',
'signer_email' => '<string>',
'signer_name' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.erdo.ai/v1/voice/branded-calling/loa/send"
payload := strings.NewReader("{\n \"letter_fingerprint\": \"<string>\",\n \"signer_email\": \"<string>\",\n \"signer_name\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.erdo.ai/v1/voice/branded-calling/loa/send")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"letter_fingerprint\": \"<string>\",\n \"signer_email\": \"<string>\",\n \"signer_name\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/voice/branded-calling/loa/send")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"letter_fingerprint\": \"<string>\",\n \"signer_email\": \"<string>\",\n \"signer_name\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"approved_at": "2023-11-07T05:31:56Z",
"default_display_name": "<string>",
"default_signer": {
"email": "<string>",
"name": "<string>"
},
"inputs": {
"call_reason": "<string>",
"consent_description": "<string>",
"daily_call_volume": 123,
"display_name": "<string>",
"employee_count": 123,
"use_case_category": "<string>",
"use_case_description": "<string>"
},
"inputs_digest": "<string>",
"last_polled_at": "2023-11-07T05:31:56Z",
"legal_name": "<string>",
"loa": {
"filename": "<string>",
"source": "<string>",
"uploaded_at": "2023-11-07T05:31:56Z"
},
"loa_letter_fingerprint": "<string>",
"loa_signature": {
"delivery_error": "<string>",
"delivery_status": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sent_at": "2023-11-07T05:31:56Z",
"signed_at": "2023-11-07T05:31:56Z",
"signed_name": "<string>",
"signed_title": "<string>",
"signer_email_masked": "<string>",
"signer_name": "<string>",
"signing_url": "<string>",
"status": "<string>",
"stored": true,
"voided_reason": "<string>"
},
"logo_url": "<string>",
"missing_inputs": [
"<string>"
],
"missing_profile_fields": [
"<string>"
],
"next_step": "<string>",
"not_registerable_reason": "<string>",
"numbers": [
{
"agent_name": "<string>",
"agent_ref": "<string>",
"agent_slug": "<string>",
"assign_error": "<string>",
"assignment": "<string>",
"eligible": true,
"not_eligible_reason": "<string>",
"phone_number": "<string>"
}
],
"out_of_date": true,
"price_per_call_usd": "<string>",
"profile_unavailable": true,
"reason": "<string>",
"registerable": true,
"registered_call_reason": "<string>",
"registered_display_name": "<string>",
"requested_at": "2023-11-07T05:31:56Z",
"review_status": "<string>",
"status": "<string>",
"use_case_categories": [
"<string>"
]
}{
"code": "not_found",
"details": {},
"message": "<string>"
}Authorizations
Body
application/json
Response
Success response

