Record the issued EIN (write scope)
curl --request POST \
--url https://api.trycherry.ai/v1/ein-applications/{id}/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ein": "12-3456789"
}
'import requests
url = "https://api.trycherry.ai/v1/ein-applications/{id}/complete"
payload = { "ein": "12-3456789" }
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({ein: '12-3456789'})
};
fetch('https://api.trycherry.ai/v1/ein-applications/{id}/complete', 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.trycherry.ai/v1/ein-applications/{id}/complete",
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'
]),
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.trycherry.ai/v1/ein-applications/{id}/complete"
payload := strings.NewReader("{\n \"ein\": \"12-3456789\"\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.trycherry.ai/v1/ein-applications/{id}/complete")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ein\": \"12-3456789\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycherry.ai/v1/ein-applications/{id}/complete")
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 \"ein\": \"12-3456789\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"application": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legalName": "<string>",
"entityType": "LLC",
"filingState": "<string>",
"status": "ready_to_file",
"ein": "<string>",
"ss4DocumentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"signatureEnvelopeId": "<string>",
"signedDocumentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filedAt": "2023-11-07T05:31:56Z",
"receivedAt": "2023-11-07T05:31:56Z",
"signatureRequestedAt": "2023-11-07T05:31:56Z",
"signedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"entityTaxIdSet": true,
"companyRecordUpdated": true
}
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}Incorporations
Record the issued EIN (write scope)
Records the EIN the IRS issued and propagates it: onto the legal entity (only when that entity has no tax id yet — an existing, different one is never overwritten) and onto the company record held with the filing partner.
Idempotent for the same EIN: a retry re-runs the propagation rather than failing, which matters because a first attempt can record the number and still fail to propagate it. A DIFFERENT EIN is refused — a recorded EIN is never silently replaced.
POST
/
ein-applications
/
{id}
/
complete
Record the issued EIN (write scope)
curl --request POST \
--url https://api.trycherry.ai/v1/ein-applications/{id}/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ein": "12-3456789"
}
'import requests
url = "https://api.trycherry.ai/v1/ein-applications/{id}/complete"
payload = { "ein": "12-3456789" }
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({ein: '12-3456789'})
};
fetch('https://api.trycherry.ai/v1/ein-applications/{id}/complete', 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.trycherry.ai/v1/ein-applications/{id}/complete",
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'
]),
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.trycherry.ai/v1/ein-applications/{id}/complete"
payload := strings.NewReader("{\n \"ein\": \"12-3456789\"\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.trycherry.ai/v1/ein-applications/{id}/complete")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ein\": \"12-3456789\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycherry.ai/v1/ein-applications/{id}/complete")
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 \"ein\": \"12-3456789\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"application": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legalName": "<string>",
"entityType": "LLC",
"filingState": "<string>",
"status": "ready_to_file",
"ein": "<string>",
"ss4DocumentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"signatureEnvelopeId": "<string>",
"signedDocumentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filedAt": "2023-11-07T05:31:56Z",
"receivedAt": "2023-11-07T05:31:56Z",
"signatureRequestedAt": "2023-11-07T05:31:56Z",
"signedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"entityTaxIdSet": true,
"companyRecordUpdated": true
}
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}Authorizations
Cherry API key, created in the app. Sent as Authorization: Bearer ck_live_….
Path Parameters
EIN application id, from listEinApplications or the incorporation response.
Body
application/json
12-3456789 or 123456789.
Pattern:
^\d{2}-?\d{7}$Response
The EIN is recorded
Show child attributes
Show child attributes