curl --request GET \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/corporations?limit=20' \
--header 'Authorization: Bearer <token>'
const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations?limit=20', {
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',
params={'limit': 20},
headers={'Authorization': 'Bearer <token>'}
)
data = response.json()
{
"message": "Successfully fetched corporations.",
"data": {
"corporations": [
{
"id": "corp_123abc",
"legal_name": "Acme Corporation Inc.",
"created_at": 1704067200,
"jurisdiction": "US",
"email_alias": "acme@filings.commenda.io"
},
{
"id": "corp_456def",
"legal_name": "Example LLC",
"created_at": 1704153600,
"jurisdiction": "US"
}
],
"total_corporations": 2
}
}
{
"error": {
"code": "PAGINATION_INVALID_LIMIT",
"message": "Limit must be between 1 and 100"
}
}
Corporations
List corporations
Get all corporations in an organization
GET
/
corporations
curl --request GET \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/corporations?limit=20' \
--header 'Authorization: Bearer <token>'
const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations?limit=20', {
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',
params={'limit': 20},
headers={'Authorization': 'Bearer <token>'}
)
data = response.json()
{
"message": "Successfully fetched corporations.",
"data": {
"corporations": [
{
"id": "corp_123abc",
"legal_name": "Acme Corporation Inc.",
"created_at": 1704067200,
"jurisdiction": "US",
"email_alias": "acme@filings.commenda.io"
},
{
"id": "corp_456def",
"legal_name": "Example LLC",
"created_at": 1704153600,
"jurisdiction": "US"
}
],
"total_corporations": 2
}
}
{
"error": {
"code": "PAGINATION_INVALID_LIMIT",
"message": "Limit must be between 1 and 100"
}
}
Retrieves a paginated list of all corporations associated with your organization.
string
Cursor for pagination. Use the cursor returned in the previous response to fetch the next page.
integer
default:"10"
Number of items to return per page. Must be between 1 and 100.
array
Array of corporation objects.
integer
required
Total number of corporations in the organization.
string
Cursor to use for fetching the next page. Only present if there are more results.
curl --request GET \
--url 'https://transaction-tax.api.in.commenda.io/api/v1/corporations?limit=20' \
--header 'Authorization: Bearer <token>'
const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations?limit=20', {
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',
params={'limit': 20},
headers={'Authorization': 'Bearer <token>'}
)
data = response.json()
{
"message": "Successfully fetched corporations.",
"data": {
"corporations": [
{
"id": "corp_123abc",
"legal_name": "Acme Corporation Inc.",
"created_at": 1704067200,
"jurisdiction": "US",
"email_alias": "acme@filings.commenda.io"
},
{
"id": "corp_456def",
"legal_name": "Example LLC",
"created_at": 1704153600,
"jurisdiction": "US"
}
],
"total_corporations": 2
}
}
{
"error": {
"code": "PAGINATION_INVALID_LIMIT",
"message": "Limit must be between 1 and 100"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Cursor for pagination
Number of items to return per page
Required range:
1 <= x <= 100Was this page helpful?