Submit missing org report
curl --request POST \
--url https://api.endaoment.org/v1/missing-org-reports/tech-platform \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"ein": "12-3456789",
"organizationName": "Example Nonprofit",
"contactEmail": "submitter@example.org",
"websiteUrl": "https://example.org",
"additionalDetails": "We are a church in Curitiba, Brazil.",
"determinationLetterStorageKey": "determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf",
"determinationLetterUrl": "https://example.org/determination-letter.pdf"
}
'import requests
url = "https://api.endaoment.org/v1/missing-org-reports/tech-platform"
payload = {
"ein": "12-3456789",
"organizationName": "Example Nonprofit",
"contactEmail": "submitter@example.org",
"websiteUrl": "https://example.org",
"additionalDetails": "We are a church in Curitiba, Brazil.",
"determinationLetterStorageKey": "determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf",
"determinationLetterUrl": "https://example.org/determination-letter.pdf"
}
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ein: '12-3456789',
organizationName: 'Example Nonprofit',
contactEmail: 'submitter@example.org',
websiteUrl: 'https://example.org',
additionalDetails: 'We are a church in Curitiba, Brazil.',
determinationLetterStorageKey: 'determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf',
determinationLetterUrl: 'https://example.org/determination-letter.pdf'
})
};
fetch('https://api.endaoment.org/v1/missing-org-reports/tech-platform', 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.endaoment.org/v1/missing-org-reports/tech-platform",
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([
'ein' => '12-3456789',
'organizationName' => 'Example Nonprofit',
'contactEmail' => 'submitter@example.org',
'websiteUrl' => 'https://example.org',
'additionalDetails' => 'We are a church in Curitiba, Brazil.',
'determinationLetterStorageKey' => 'determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf',
'determinationLetterUrl' => 'https://example.org/determination-letter.pdf'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <x-api-key>"
],
]);
$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.endaoment.org/v1/missing-org-reports/tech-platform"
payload := strings.NewReader("{\n \"ein\": \"12-3456789\",\n \"organizationName\": \"Example Nonprofit\",\n \"contactEmail\": \"submitter@example.org\",\n \"websiteUrl\": \"https://example.org\",\n \"additionalDetails\": \"We are a church in Curitiba, Brazil.\",\n \"determinationLetterStorageKey\": \"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf\",\n \"determinationLetterUrl\": \"https://example.org/determination-letter.pdf\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
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.endaoment.org/v1/missing-org-reports/tech-platform")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"ein\": \"12-3456789\",\n \"organizationName\": \"Example Nonprofit\",\n \"contactEmail\": \"submitter@example.org\",\n \"websiteUrl\": \"https://example.org\",\n \"additionalDetails\": \"We are a church in Curitiba, Brazil.\",\n \"determinationLetterStorageKey\": \"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf\",\n \"determinationLetterUrl\": \"https://example.org/determination-letter.pdf\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endaoment.org/v1/missing-org-reports/tech-platform")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ein\": \"12-3456789\",\n \"organizationName\": \"Example Nonprofit\",\n \"contactEmail\": \"submitter@example.org\",\n \"websiteUrl\": \"https://example.org\",\n \"additionalDetails\": \"We are a church in Curitiba, Brazil.\",\n \"determinationLetterStorageKey\": \"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf\",\n \"determinationLetterUrl\": \"https://example.org/determination-letter.pdf\"\n}"
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000"
}Partner Endpoints
Submit missing org report
POST
/
v1
/
missing-org-reports
/
tech-platform
Submit missing org report
curl --request POST \
--url https://api.endaoment.org/v1/missing-org-reports/tech-platform \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"ein": "12-3456789",
"organizationName": "Example Nonprofit",
"contactEmail": "submitter@example.org",
"websiteUrl": "https://example.org",
"additionalDetails": "We are a church in Curitiba, Brazil.",
"determinationLetterStorageKey": "determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf",
"determinationLetterUrl": "https://example.org/determination-letter.pdf"
}
'import requests
url = "https://api.endaoment.org/v1/missing-org-reports/tech-platform"
payload = {
"ein": "12-3456789",
"organizationName": "Example Nonprofit",
"contactEmail": "submitter@example.org",
"websiteUrl": "https://example.org",
"additionalDetails": "We are a church in Curitiba, Brazil.",
"determinationLetterStorageKey": "determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf",
"determinationLetterUrl": "https://example.org/determination-letter.pdf"
}
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ein: '12-3456789',
organizationName: 'Example Nonprofit',
contactEmail: 'submitter@example.org',
websiteUrl: 'https://example.org',
additionalDetails: 'We are a church in Curitiba, Brazil.',
determinationLetterStorageKey: 'determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf',
determinationLetterUrl: 'https://example.org/determination-letter.pdf'
})
};
fetch('https://api.endaoment.org/v1/missing-org-reports/tech-platform', 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.endaoment.org/v1/missing-org-reports/tech-platform",
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([
'ein' => '12-3456789',
'organizationName' => 'Example Nonprofit',
'contactEmail' => 'submitter@example.org',
'websiteUrl' => 'https://example.org',
'additionalDetails' => 'We are a church in Curitiba, Brazil.',
'determinationLetterStorageKey' => 'determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf',
'determinationLetterUrl' => 'https://example.org/determination-letter.pdf'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <x-api-key>"
],
]);
$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.endaoment.org/v1/missing-org-reports/tech-platform"
payload := strings.NewReader("{\n \"ein\": \"12-3456789\",\n \"organizationName\": \"Example Nonprofit\",\n \"contactEmail\": \"submitter@example.org\",\n \"websiteUrl\": \"https://example.org\",\n \"additionalDetails\": \"We are a church in Curitiba, Brazil.\",\n \"determinationLetterStorageKey\": \"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf\",\n \"determinationLetterUrl\": \"https://example.org/determination-letter.pdf\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
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.endaoment.org/v1/missing-org-reports/tech-platform")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"ein\": \"12-3456789\",\n \"organizationName\": \"Example Nonprofit\",\n \"contactEmail\": \"submitter@example.org\",\n \"websiteUrl\": \"https://example.org\",\n \"additionalDetails\": \"We are a church in Curitiba, Brazil.\",\n \"determinationLetterStorageKey\": \"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf\",\n \"determinationLetterUrl\": \"https://example.org/determination-letter.pdf\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endaoment.org/v1/missing-org-reports/tech-platform")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ein\": \"12-3456789\",\n \"organizationName\": \"Example Nonprofit\",\n \"contactEmail\": \"submitter@example.org\",\n \"websiteUrl\": \"https://example.org\",\n \"additionalDetails\": \"We are a church in Curitiba, Brazil.\",\n \"determinationLetterStorageKey\": \"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf\",\n \"determinationLetterUrl\": \"https://example.org/determination-letter.pdf\"\n}"
response = http.request(request)
puts response.read_body{
"id": "550e8400-e29b-41d4-a716-446655440000"
}Headers
Tech Platform API Key
Body
application/json
EIN of the reported organization, with or without hyphen
Example:
"12-3456789"
Name of the reported organization
Example:
"Example Nonprofit"
Email address of the person submitting the report
Example:
"submitter@example.org"
Optional website URL of the reported organization
Example:
"https://example.org"
Optional free-text notes from the submitter
Example:
"We are a church in Curitiba, Brazil."
Storage key returned by the determination letter upload endpoint
Example:
"determination-letters/550e8400-e29b-41d4-a716-446655440000/My_Letter.pdf"
External determination letter URL provided by an integrator
Example:
"https://example.org/determination-letter.pdf"
Response
Missing org report UUID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Was this page helpful?
⌘I