What this call does

Shows a single framework contract with every field that has been filled in.

Last updated: 15.05.2026

What you need first

A valid API key in the API-Key header, your companyAccountId, and the CATHAGO id of the contract, from Search contracts or from the answer of Create or update contracts (bulk).

Parameters

Parameter

Required

Default

Meaning

contractId

Yes

none

In the address line. The CATHAGO id, e.g. C122605151902334471.

companyAccountId

Yes

none

In the address line. Required, but not used to find the contract.

This call is not scoped to your company. A contract id belonging to another company is still returned. Only ask for ids you own.

The fields

No request body. You send only the address with contractId and companyAccountId.

What you get back

200 OK with the contract. Fields that were never filled in are left out entirely, they do not come back as null.

Field

Type

Meaning

id, externalId

text

The CATHAGO id, and your own contract number. externalId is the contract number, there is no contractNumber field.

name, description, trade

text

Name, description, trade.

contractType, contractForm

text

Free text. CATHAGO's screens use PURCHASE, SERVICE, RENTAL, PREFAB, SUBCONTRACT, LOGISTICS, DISPOSAL, OTHERS and SPOT, FRAMEWORK, MSA.

status

choice

DRAFT, ACTIVE or INACTIVE. Absent when never set.

validFrom, validUntil, renewalDate, effectiveDate, expiryDate

date

The term, the day the renewal is decided, and mirrors of validFrom and validUntil.

noticePeriodDays, autoRenewal

number, true/false

Notice period in days; whether the contract renews itself.

totalValue, currency

number, text

Contract value and currency.

paymentTerms, pricingModel, invoiceSchedule, deliveryTimeAfterOrder, noteToBuyer, legalNoteToSupplier

text

Free text, as the names say.

constructionElement

text

The building element the contract covers.

contractFileDocumentId, contractFilePublicUrl, contractFileName

text

The contract file: its id, the address it can be fetched from, and its file name.

supplierId, supplierName, priceListIds

text, list

The supplier, and the price lists on this contract.

commercialConditions, contractDeliveryTime, installationDays

object

Commercial terms, delivery time, installation time.

attachments

list

Each entry has id, externalId, documentId, fileName, url, attachmentType and createdAt. The id is what Remove extra files from a contract wants.

daysUntilExpiry

number

Whole days from today to validUntil, or to expiryDate when that is empty. Negative once expired; absent when neither is set.

createdAt, lastModifiedAt

timestamp

2026-05-15T10:22:41.883Z.

Common mistakes

What you see

Why

What to do

500, Contract not found for ID: …

The id does not exist, often an externalId was used instead. There is no 404 here

Look the contract up with Search contracts and externalIds first.

401 Unauthorized

Key missing, unknown, disabled or expired

Check the API-Key header.

A field you expected is missing

It was never filled in; empty fields are omitted, not returned as null

Treat absent and empty as the same thing. daysUntilExpiry needs validUntil or expiryDate.

A contract from another company came back

This call is not scoped by companyAccountId

Only ask for ids you own.

Adresse

HTTP
GET https://api.cathago.de/v3/api/gateways/integration/contracts/?companyAccountId=<companyAccountId>

Beispielaufruf

Terminal
curl -X GET 'https://api.cathago.de/v3/api/gateways/integration/contracts/?companyAccountId=<companyAccountId>' \
  -H 'API-Key: <Ihr API-Schlüssel>'

Beispielantworten

Example 1, 200 OK, fully populated contract

Status: 200 OK

JSON
{
    "id": "C12260512895327",
    "externalId": "ERP-PO-77831",
    "name": "Logistic contract",
    "contractType": "FRAMEWORK",
    "trade": "Construction contract",
    "description": "This is Contract Only assign for the ground Flore contraction",
    "constructionElement": "floor Materials",
    "noteToBuyer": "This is contact belong to the all respected price list",
    "deliveryTimeAfterOrder": "10 Weeks",
    "validFrom": "2026-04-30",
    "validUntil": "2026-05-29",
    "effectiveDate": "2026-04-30",
    "expiryDate": "2026-05-29",
    "renewalDate": "2026-05-31",
    "noticePeriodDays": 20,
    "autoRenewal": false,
    "daysUntilExpiry": 14,
    "commercialConditions": {
        "notes": "Make Sure this Contract Should deliver On the time for Applied for the Construction material",
        "paymentPeriod": "10 Days",
        "scontoPaymentPeriod": "5 Days",
        "scontoPercentage": 19.0,
        "scontoPeriodDays": 5,
        "volumeDiscountPercentage": 2.5,
        "volumeDiscountThreshold": 50000.0,
        "lateDeliveryPenaltyPerDay": 250.0,
        "lateDeliveryPenaltyCap": 5000.0,
        "qualityRejectionPenalty": 1000.0
    },
    "contractDeliveryTime": {
        "duration": 20,
        "durationUnit": "WEEKS",
        "availableDaysType": "WORKDAYS",
        "customDayRange": null
    },
    "installationDays": {
        "duration": 30,
        "durationUnit": "WEEKS",
        "afterDeliveryDate": "2026-06-29",
        "availableDaysType": "WEEKENDS",
        "customDayRange": null
    },
    "totalValue": 648500.00,
    "currency": "EUR",
    "paymentTerms": "Net 30",
    "pricingModel": "FIXED",
    "invoiceSchedule": "MONTHLY",
    "legalNoteToSupplier": "This is contract is Applied for the Seleted Supplier Pricelist",
    "status": "ACTIVE",
    "supplierId": "S-STEELCO",
    "supplierName": "Infra ware Supplier",
    "priceListIds": ["PL-STEEL-NORTH"],
    "contractFileDocumentId": "C0626051233311343",
    "contractFilePublicUrl": "https://docs.cathago.de/contract-pdfs/C0626051233311343",
    "contractFileName": "Steel-2026-Q2_Master.pdf",
    "createdAt": "2026-04-29T18:30:00Z",
    "lastModifiedAt": "2026-04-29T18:30:00Z"
}

Example 2, 200 OK, minimal fields (DRAFT)

Status: 200 OK

JSON
{
    "id": "C12260512895999",
    "externalId": "ERP-PO-90001",
    "name": "Quick framework — pending review",
    "status": "DRAFT",
    "validFrom": null,
    "validUntil": null,
    "daysUntilExpiry": null,
    "priceListIds": [],
    "createdAt": "2026-05-14T11:02:14Z",
    "lastModifiedAt": "2026-05-14T11:02:14Z"
}

Example 3, 404 contract not found

Status: 404 Not Found

JSON
{
    "timestamp": "2026-05-15T09:24:00Z",
    "status": 404,
    "error": "Not Found",
    "message": "Contract not found for ID: does-not-exist"
}

Example 4, 404 wrong companyAccountId (tenant isolation)

Status: 404 Not Found

JSON
{
    "timestamp": "2026-05-15T09:24:00Z",
    "status": 404,
    "error": "Not Found",
    "message": "Contract not found for ID: C12260512895327"
}

Example 5, 401 missing API-Key

Status: 401 Unauthorized

JSON
{
    "timestamp": "2026-05-15T09:24:00Z",
    "status": 401,
    "error": "Unauthorized",
    "message": "Missing API key"
}