Get one record of any type
Fetch a record without knowing its type in advance. act-minted ids carry their type in the prefix (t0_invoice_…); for ids you supplied through insert, pass type.
- Type: string · External Idexternal
_id requiredThe record's external id.
- Type: string · Typeenumnullabletype
Public type name. Required when the id was not minted by act.
values- Invoice
- Vendor
Bill - Payment
- Customer
- Vendor
- Line
Item - Bill
Line Item
- Type: array string[] | null · Expandnullableexpand
Linked records to include under
expanded; must be links the resolved type declares (see/types). - Type: boolean · Include Deletedinclude
_deleted Return the record even if act has deleted it.
- Type: string · X-Api-KeynullableX
- Api - Key
- application/json
- 400
The record's type could not be resolved: no act prefix and no
type, an unknowntype, atypecontradicting the prefix, or an act type not served here (CAPI66); orexpandnames a link the resolved type does not declare (CAPI68). - 401
Missing or invalid X-Api-Key (CAPI11).
- 403
The key lacks the customer_api:read permission (CAPI71).
- 404
No record of this type with that id in the key's entity (CAPI61).
- 409
The id resolves to more than one record of this type (CAPI63), or the entity has no applied books start date (CAPI67).
- application/json
curl '/v1/objects/{external_id}' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": {
"amount": 1,
"currencyCode": "string",
"customFields": {
"additionalProperty": "anything"
},
"date": "2026-09-10",
"description": "string",
"endDate": "2026-09-10",
"exchangeRates": [],
"startDate": "2026-09-10"
},
"id": {
"dataType": "Adjustment",
"externalId": "string",
"platformDataType": "string",
"platformId": "string",
"platformType": "string"
},
"links": [],
"expanded": {
"additionalProperty": [
{
"data": {
"amount": 1,
"currencyCode": "string",
"customFields": {
"additionalProperty": "anything"
},
"date": "2026-09-10",
"description": "string",
"endDate": "2026-09-10",
"exchangeRates": [],
"startDate": "2026-09-10"
},
"id": {
"dataType": "Adjustment",
"externalId": "string",
"platformDataType": "string",
"platformId": "string",
"platformType": "string"
},
"links": []
}
]
},
"expanded_truncated": [
"string"
]
}