Ask for volume rates
curl --request POST \
--url https://sendmypaper.com/v1/enterprise-inquiries \
--header 'Content-Type: application/json' \
--data '
{
"name": "Alex Kim",
"email": "alex@example.com",
"company": "Kim Property Management",
"volume": "100-1000",
"kinds": [
"letters",
"certified"
],
"channel": "api",
"message": "Monthly rent notices to about 300 tenants."
}
'import requests
url = "https://sendmypaper.com/v1/enterprise-inquiries"
payload = {
"name": "Alex Kim",
"email": "alex@example.com",
"company": "Kim Property Management",
"volume": "100-1000",
"kinds": ["letters", "certified"],
"channel": "api",
"message": "Monthly rent notices to about 300 tenants."
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Alex Kim',
email: 'alex@example.com',
company: 'Kim Property Management',
volume: '100-1000',
kinds: ['letters', 'certified'],
channel: 'api',
message: 'Monthly rent notices to about 300 tenants.'
})
};
fetch('https://sendmypaper.com/v1/enterprise-inquiries', 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://sendmypaper.com/v1/enterprise-inquiries",
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([
'name' => 'Alex Kim',
'email' => 'alex@example.com',
'company' => 'Kim Property Management',
'volume' => '100-1000',
'kinds' => [
'letters',
'certified'
],
'channel' => 'api',
'message' => 'Monthly rent notices to about 300 tenants.'
]),
CURLOPT_HTTPHEADER => [
"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://sendmypaper.com/v1/enterprise-inquiries"
payload := strings.NewReader("{\n \"name\": \"Alex Kim\",\n \"email\": \"alex@example.com\",\n \"company\": \"Kim Property Management\",\n \"volume\": \"100-1000\",\n \"kinds\": [\n \"letters\",\n \"certified\"\n ],\n \"channel\": \"api\",\n \"message\": \"Monthly rent notices to about 300 tenants.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://sendmypaper.com/v1/enterprise-inquiries")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Alex Kim\",\n \"email\": \"alex@example.com\",\n \"company\": \"Kim Property Management\",\n \"volume\": \"100-1000\",\n \"kinds\": [\n \"letters\",\n \"certified\"\n ],\n \"channel\": \"api\",\n \"message\": \"Monthly rent notices to about 300 tenants.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sendmypaper.com/v1/enterprise-inquiries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Alex Kim\",\n \"email\": \"alex@example.com\",\n \"company\": \"Kim Property Management\",\n \"volume\": \"100-1000\",\n \"kinds\": [\n \"letters\",\n \"certified\"\n ],\n \"channel\": \"api\",\n \"message\": \"Monthly rent notices to about 300 tenants.\"\n}"
response = http.request(request)
puts response.read_body{
"id": "inq_3k9w2m8q4x7n5r1t",
"status": "received",
"message": "<string>"
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"fields": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"fields": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}Ask for volume rates
For senders who mail in bulk or every month, including marketing campaigns. A person at Sendpaper replies by email with volume rates and monthly invoicing; nothing is priced or charged by this call. Same fields as the form at https://sendmypaper.com/enterprise. Limited to 5 requests an hour per IP.
POST
/
enterprise-inquiries
Ask for volume rates
curl --request POST \
--url https://sendmypaper.com/v1/enterprise-inquiries \
--header 'Content-Type: application/json' \
--data '
{
"name": "Alex Kim",
"email": "alex@example.com",
"company": "Kim Property Management",
"volume": "100-1000",
"kinds": [
"letters",
"certified"
],
"channel": "api",
"message": "Monthly rent notices to about 300 tenants."
}
'import requests
url = "https://sendmypaper.com/v1/enterprise-inquiries"
payload = {
"name": "Alex Kim",
"email": "alex@example.com",
"company": "Kim Property Management",
"volume": "100-1000",
"kinds": ["letters", "certified"],
"channel": "api",
"message": "Monthly rent notices to about 300 tenants."
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Alex Kim',
email: 'alex@example.com',
company: 'Kim Property Management',
volume: '100-1000',
kinds: ['letters', 'certified'],
channel: 'api',
message: 'Monthly rent notices to about 300 tenants.'
})
};
fetch('https://sendmypaper.com/v1/enterprise-inquiries', 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://sendmypaper.com/v1/enterprise-inquiries",
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([
'name' => 'Alex Kim',
'email' => 'alex@example.com',
'company' => 'Kim Property Management',
'volume' => '100-1000',
'kinds' => [
'letters',
'certified'
],
'channel' => 'api',
'message' => 'Monthly rent notices to about 300 tenants.'
]),
CURLOPT_HTTPHEADER => [
"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://sendmypaper.com/v1/enterprise-inquiries"
payload := strings.NewReader("{\n \"name\": \"Alex Kim\",\n \"email\": \"alex@example.com\",\n \"company\": \"Kim Property Management\",\n \"volume\": \"100-1000\",\n \"kinds\": [\n \"letters\",\n \"certified\"\n ],\n \"channel\": \"api\",\n \"message\": \"Monthly rent notices to about 300 tenants.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://sendmypaper.com/v1/enterprise-inquiries")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Alex Kim\",\n \"email\": \"alex@example.com\",\n \"company\": \"Kim Property Management\",\n \"volume\": \"100-1000\",\n \"kinds\": [\n \"letters\",\n \"certified\"\n ],\n \"channel\": \"api\",\n \"message\": \"Monthly rent notices to about 300 tenants.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sendmypaper.com/v1/enterprise-inquiries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Alex Kim\",\n \"email\": \"alex@example.com\",\n \"company\": \"Kim Property Management\",\n \"volume\": \"100-1000\",\n \"kinds\": [\n \"letters\",\n \"certified\"\n ],\n \"channel\": \"api\",\n \"message\": \"Monthly rent notices to about 300 tenants.\"\n}"
response = http.request(request)
puts response.read_body{
"id": "inq_3k9w2m8q4x7n5r1t",
"status": "received",
"message": "<string>"
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"fields": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"fields": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}Body
application/json