Skip to main content
GET
/
partner
/
commenda-os
/
customers
/
{customerId}
/
business-entities
/
{businessEntityId}
/
government-identifiers
/
{governmentIdentifierId}
Get a government identifier
curl --request GET \
  --url https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}/government-identifiers/{governmentIdentifierId} \
  --header 'x-api-key: <api-key>'
{
  "governmentIdentifier": {
    "country": "US",
    "businessEntityId": 44,
    "corporationType": "LLC",
    "key": "US_EIN",
    "displayName": "Employer Identification Number",
    "shortName": "EIN",
    "description": "US federal tax identifier issued by the IRS.",
    "purposes": [
      "TAXATION"
    ],
    "supportingDocument": {
      "id": 900,
      "fileName": "ein-letter.pdf",
      "fileUrl": "https://bucket.s3.amazonaws.com/ein-letter.pdf",
      "type": "EINLetter",
      "category": "TAX_AND_COMPLIANCE_DOCUMENT",
      "fileTypeSpecifiers": [
        ".pdf"
      ]
    },
    "isFunctionCritical": true,
    "isCustom": false,
    "linkedRegistrations": [
      {
        "internalIdentifier": "US_EIN",
        "displayName": "Employer Identification Number",
        "purpose": "TAXATION"
      }
    ],
    "id": "gov_123",
    "jurisdiction": "DE",
    "value": "12-3456789",
    "createdAt": 1735689600000,
    "lastUpdatedAt": 1735776000000,
    "regexString": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.commenda.io/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve a single government identifier for a customer’s business entity.

Authorizations

x-api-key
string
header
required

Path Parameters

customerId
integer
required

Commenda customer identifier.

businessEntityId
integer
required

Commenda business-entity identifier for the specified customer.

governmentIdentifierId
string
required

Commenda government-identifier identifier.

Response

Government identifier retrieved successfully

governmentIdentifier
object
required