APICost type
Get a cost type
GET
Get a single cost type by ID. Returns 404 if no cost type with that ID exists in your company or if it has been soft-deleted. Inactive (but not deleted) cost types are still returned.
Required permission: costs_permissions_manage_cost_types.
Bearerheader
AuthorizationBearer <token>API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.
id*stringID of the cost type to fetch.
A single cost type
*/*- response
A single cost type
data?A cost type
curl -X GET 'https://app.distru.com/public/v1/cost-types/00000000-0000-0000-0000-000000000010'Example Response
{ "data": { "active": true, "allow_inline_edits": true, "cost_per_unit": "25.5", "deleted_at": null, "description": null, "id": "00000000-0000-0000-0000-000000000010", "inserted_datetime": "2026-08-24T16:01:03.662817Z", "name": "Freight", "unit_type": { "id": "00000000-0000-0000-0000-000000000ab5", "name": "Unit Type 16" }, "updated_datetime": "2026-08-24T16:01:03.662817Z" }}