curl --request GET \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc' \
--header 'Authorization: Bearer <token>'
const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc', {
method: 'GET',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
response = requests.get(
'https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc',
headers={'Authorization': 'Bearer <token>'}
)
data = response.json()
{
"message": "Corporation retrieved successfully.",
"data": {
"id": "corp_123abc",
"legal_name": "Acme Corporation Inc.",
"created_at": 1704067200,
"jurisdiction": "US",
"email_alias": "acme@filings.commenda.io"
}
}
{
"error": {
"code": "CORPORATION_NOT_FOUND",
"message": "Corporation with the specified ID was not found"
}
}
Corporations
Get corporation
Retrieve a specific corporation by ID
GET
/
corporations
/
{id}
curl --request GET \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc' \
--header 'Authorization: Bearer <token>'
const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc', {
method: 'GET',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
response = requests.get(
'https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc',
headers={'Authorization': 'Bearer <token>'}
)
data = response.json()
{
"message": "Corporation retrieved successfully.",
"data": {
"id": "corp_123abc",
"legal_name": "Acme Corporation Inc.",
"created_at": 1704067200,
"jurisdiction": "US",
"email_alias": "acme@filings.commenda.io"
}
}
{
"error": {
"code": "CORPORATION_NOT_FOUND",
"message": "Corporation with the specified ID was not found"
}
}
Retrieves the details of a specific corporation by its unique identifier.
string
required
Unique identifier of the corporation to retrieve.
string
required
Unique identifier for the corporation.
string
required
Legal name of the entity, including the type suffix.
integer
required
Unix timestamp of when the corporation was created.
string
required
Jurisdiction of the corporation.
string
Email alias for the corporation.
curl --request GET \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc' \
--header 'Authorization: Bearer <token>'
const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc', {
method: 'GET',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
response = requests.get(
'https://transaction-tax.api.in.commenda.io/api/v1/corporations/corp_123abc',
headers={'Authorization': 'Bearer <token>'}
)
data = response.json()
{
"message": "Corporation retrieved successfully.",
"data": {
"id": "corp_123abc",
"legal_name": "Acme Corporation Inc.",
"created_at": 1704067200,
"jurisdiction": "US",
"email_alias": "acme@filings.commenda.io"
}
}
{
"error": {
"code": "CORPORATION_NOT_FOUND",
"message": "Corporation with the specified ID was not found"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the corporation to fetch.
Was this page helpful?