What this call does

Sends a list of construction sites with mode=ADD. Despite the name, ADD and ADD_OR_UPDATE behave identically: a site that already exists is updated, not duplicated.

Last updated: 15.05.2026

What you need first

  • A valid API key in the API-Key header.
  • Your companyAccountId as a query parameter. There is no default for it.
  • &mode=ADD in the address line.
  • At least one entry, and a title on every entry.

Parameters

Parameter

Required

Default

Meaning

companyAccountId

Yes

none

Your company account.

mode

No

ADD_OR_UPDATE

ADD for this call. It behaves exactly like ADD_OR_UPDATE.

ADD is not an "always create" switch. An entry with an id updates that site; an entry with a known externalProjectId updates the first site carrying it; only an entry that matches nothing creates a site.

Duplicates arise the other way round: two sites may share an externalProjectId, because nothing forces it to be unique, and from then on updates land on whichever comes back first.

The fields

The same fields as Create or update sites (bulk), default mode: id, tenantId, externalProjectId, title (the only required one), costCentre, startDate, endDate, budget, description, projectStatus (default ACTIVE), address, billingAddress, members, locations and customFieldValues. That page carries the types, the limits, the inner shape of the five objects and lists, and the values of projectStatus and role.

Three traps. A misspelled field name is dropped without a word. An unrecognised value for a fixed-choice field does not fail either, projectStatus falls back to ACTIVE, role and valueType end up empty. And a field that has a default (projectStatus, members, locations, customFieldValues, role, sendInvite, defaultLocation, overrideExistingLocation) is written even when you leave it out.

What you get back

200 OK and the stored site: id, externalProjectId, title, costCentre, startDate, endDate, budget, description, projectStatus, tenantId, address, billingAddress, members, locations and customFieldValues. Each address has its own id. Each member has id, emailAddress, role, invitationSentDate, contactPerson, memberStatus (PENDING, ACTIVE or DISABLED), username and tenants; each location id, title, comments, defaultLocation, address, members, createdAt and lastModifiedAt. Dates come back as text, never as numbers.

role comes back as an object, {"roleName": "PROCUREMENT MANAGER", "roleType": "SYSTEM_DEFINED"}, with a space, while a request takes the constant PROCUREMENT_MANAGER. Never send the response value back.

One entry per site you sent, in the same order. The member behind your API key is added to every site this call creates, so expect one more entry in members than you sent. The list is written as one unit: the first row that fails rolls back the rows before it.

Additional fields: additionalFields and customFieldValues

A site can carry your own extra fields. There are two shapes, they write to the same place, and both keep working:

Field

Use it?

additionalFields

Yes. The current shape.

customFieldValues

The older shape. Still read and still written, to exactly the same values.

additionalFields entries take:

Field

Required

Default

Meaning

technicalName

Yes

none

The key, and what a field is matched on when you save the site again. A field already stored under this name keeps its id and its creation date.

displayName

No

(none)

The label a person sees

value

No

(none)

The value, always text

valueType

No

TEXT

TEXT, NUMBER, FLOAT, DATE, SELECT, MULTI_SELECT, PASSWORD

valueOptions

No

empty

The choices, for SELECT and MULTI_SELECT

fieldId

No

(none)

The field's id in your catalogue. Not needed, the name, label and type are enough.

A field you name that does not exist yet is created for you, so the value is one a form can show later rather than one stored out of sight.

How a write changes the fields, read this before your first update

What you send

What happens to the stored fields

additionalFields with entries

Those fields are added or updated. Every field you did not name is left alone.

Neither field at all

Nothing changes.

"customFieldValues": []

Nothing changes.

"additionalFields": []

Nothing changes, an empty list is not a clear.

"additionalFields": [{}]

Every additional field on the site is deleted.

The last two lines are the trap. An empty list leaves everything alone; a list holding one blank entry wipes the lot. Exactly one entry, and that entry either null or carrying a blank technicalName and a blank value, is read as "clear them all". Two blank entries is not a clear. A blank entry alongside a real one is not a clear.
Why an empty list does nothing: customFieldValues defaults to an empty list on every payload, so an integration written before additional fields existed sends one on every update. Reading that as "remove them all" would have emptied those customers' sites. Clearing therefore has to be asked for on purpose.
customFieldValues writes a value onto the field it names, exactly as it always has. additionalFields writes the field as you describe it. Where both name the same technicalName, additionalFields is applied last and wins.

Common mistakes

What you see

Why

What to do

An existing site was changed although you used ADD

ADD and ADD_OR_UPDATE do the same thing

Use fresh externalProjectId values for a first import, or check first with Search for sites.

The site is still live after you archived it

You sent ARCHIEVED, which is not a value and falls back to ACTIVE

Send ARCHIVED.

The status flipped to ACTIVE on an entry that matched an existing site

projectStatus was left out, so ACTIVE was written

Always send projectStatus.

The member has no role

You sent CONSTRUCTION MANAGER with a space

Send CONSTRUCTION_MANAGER.

400 INVALID_INPUTS, title : must not be blank

An entry has no title

Give every entry a title.

406 PROJECT_NOT_FOUND

An id in the list is unknown or not yours

Remove or correct it.

406 RESOURCE_IN_USE, Something went wrong!

A value is longer than the field allows

Shorten it.

400, message ends yyyy-mm-dd

A date was written the German way, "01.06.2026"

Send "2026-06-01".

403 FORBIDDEN, Invalid ApiKey

Key missing, unknown, switched off or expired

Keys are per environment; a staging key fails in production.

400 REQUEST_PARAMETER_IS_MISSING

No companyAccountId in the address line

Add ?companyAccountId=....

400 REQUIRED_REQUEST_BODY_IS_MISSING

The // comments are still in the body, or the JSON is broken

Strip the comments.

Adresse

HTTP
PUT https://api.cathago.de/api/gateways/integration/projects/bulk?companyAccountId=<companyAccountId>&mode=ADD

Beispielaufruf

Terminal
curl -X PUT 'https://api.cathago.de/api/gateways/integration/projects/bulk?companyAccountId=<companyAccountId>&mode=ADD' \
  -H 'API-Key: <Ihr API-Schlüssel>' \
  -H 'Content-Type: application/json' \
  -d '[
  {
    "id": null,
    "tenantId": "C3125110678675695",
    "externalProjectId": "BV-2026-0518",
    "title": "Sanierung Schulzentrum Nord, Bauabschnitt 1",
    "costCentre": "KST-5120",
    "startDate": "2026-09-14",
    "endDate": "2027-07-31",
    "budget": 1875000,
    "description": "Energetische Sanierung von drei Schulgebäuden, neue Fenster und Dachdämmung.",
    "projectStatus": "DRAFT",
    "address": {
      "addressLineOne": "Zwickauer Straße 47",
      "addressLineTwo": "Bauleitung Gebäude C",
      "city": "Chemnitz",
      "country": "Deutschland",
      "zipcode": "09112",
      "comments": "Baustellenzufahrt über die Hofeinfahrt Süd.",
      "mapLink": "50.8285,12.9095",
      "region": "Sachsen"
    },
    "billingAddress": {
      "addressLineOne": "Hauptstraße 88",
      "addressLineTwo": "Verwaltung, 3. Obergeschoss",
      "city": "Dresden",
      "country": "Deutschland",
      "zipcode": "01067",
      "comments": "Rechnungen bitte nur per E-Mail.",
      "mapLink": "https://maps.app.goo.gl/4kTn7xR1",
      "region": "Sachsen",
      "companyName": "Bauunternehmung Weber & Sohn GmbH",
      "vatId": "DE812345678",
      "emailAddress": "rechnung@weber-bau.de",
      "contactPersonName": "Ingrid Weber"
    },
    "members": [
      {
        "emailAddress": "sharif.malik@cathago.de",
        "role": "FOREMEN",
        "sendInvite": true,
        "contactPerson": {
          "fullName": "Sharif Malik",
          "contactNumber": "+49 371 5552210",
          "alternateContactNumber": "+49 171 5552210"
        }
      }
    ],
    "locations": [
      {
        "id": null,
        "title": "Materiallager Hof Süd",
        "comments": "Nur Schüttgut und Gerüstmaterial.",
        "defaultLocation": true,
        "overrideExistingLocation": false,
        "address": {
          "addressLineOne": "Zwickauer Straße 47",
          "addressLineTwo": "Hofeinfahrt Süd",
          "city": "Chemnitz",
          "country": "Deutschland",
          "zipcode": "09112",
          "comments": "Wendemöglichkeit für Sattelzüge.",
          "mapLink": "50.8285,12.9095",
          "region": "Sachsen"
        },
        "members": [
          {
            "emailAddress": "sharif.malik@cathago.de"
          }
        ]
      }
    ],
    "additionalFields": [
      {
        "technicalName": "bauherr",
        "displayName": "Bauherr",
        "value": "Öffentlich",
        "valueType": "TEXT",
        "valueOptions": [
          "Privat",
          "Öffentlich"
        ],
        "fieldId": null
      }
    ],
    "customFieldValues": [
      {
        "customFieldId": null,
        "displayName": "Fördermittel",
        "technicalName": "foerdermittel",
        "valueType": "SELECT",
        "valueOptions": [
          "Bund",
          "Land",
          "Keine"
        ],
        "value": "Land"
      }
    ]
  },
  {
    "id": null,
    "tenantId": "C3125110678675695",
    "externalProjectId": "BV-2026-0519",
    "title": "Sanierung Schulzentrum Nord, Bauabschnitt 2",
    "costCentre": "KST-5121",
    "startDate": "2027-03-01",
    "endDate": "2028-02-29",
    "budget": 1450000,
    "description": "Turnhalle und Mensa, Innenausbau und Haustechnik.",
    "projectStatus": "DRAFT"
  }
]'

Beispiel für den Body

JSON
[
    {
        "id": null,                             // Optional. Empty on purpose. ADD still updates a site whose externalProjectId exists
        "tenantId": "C3125110678675695",        // Optional. Left out, your default tenant is used
        "externalProjectId": "BV-2026-0518",    // Optional. Your own key for the site
        "title": "Sanierung Schulzentrum Nord, Bauabschnitt 1", // Required. Up to 1024 characters
        "costCentre": "KST-5120",               // Optional. Cost centre, up to 256 characters
        "startDate": "2026-09-14",              // Optional. Calendar date as YYYY-MM-DD
        "endDate": "2027-07-31",                // Optional. Calendar date as YYYY-MM-DD
        "budget": 1875000.00,                   // Optional. Plain number, no quotes and no currency sign
        "description": "Energetische Sanierung von drei Schulgebäuden, neue Fenster und Dachdämmung.", // Optional. Up to 1024 characters
        "projectStatus": "DRAFT",               // Always send it. DRAFT keeps the site out of ordinary searches
        "address": {                            // Optional. Address of the site
            "addressLineOne": "Zwickauer Straße 47", // Optional. Street and number
            "addressLineTwo": "Bauleitung Gebäude C", // Optional. Building, floor, site office
            "city": "Chemnitz",                 // Optional. Town
            "country": "Deutschland",           // Optional. Free text
            "zipcode": "09112",                 // Optional. Text, so a leading zero survives
            "comments": "Baustellenzufahrt über die Hofeinfahrt Süd.", // Optional. Notes about access
            "mapLink": "50.8285,12.9095",       // Optional. Map link or coordinate pair
            "region": "Sachsen"                 // Optional. Federal state or region
        },
        "billingAddress": {                     // Optional. Same eight fields as address, plus the four below
            "addressLineOne": "Hauptstraße 88", // Optional. Street and number of the invoice recipient
            "addressLineTwo": "Verwaltung, 3. Obergeschoss", // Optional. Building or floor
            "city": "Dresden",                  // Optional. Town
            "country": "Deutschland",           // Optional. Country
            "zipcode": "01067",                 // Optional. Postal code as text
            "comments": "Rechnungen bitte nur per E-Mail.", // Optional. Note on the billing address
            "mapLink": "https://maps.app.goo.gl/4kTn7xR1", // Optional. Map link
            "region": "Sachsen",                // Optional. Federal state
            "companyName": "Bauunternehmung Weber & Sohn GmbH", // Optional. Invoice recipient
            "vatId": "DE812345678",             // Optional. VAT number
            "emailAddress": "rechnung@weber-bau.de", // Optional. Where invoices are sent
            "contactPersonName": "Ingrid Weber" // Optional. Name of the accounts contact
        },
        "members": [                            // Optional, default an empty list. People on the site
            {
                "emailAddress": "sharif.malik@cathago.de", // Required for a member
                "role": "FOREMEN",              // Optional, default CONSTRUCTION_MANAGER. Or ADMIN, PROCUREMENT_MANAGER, GUEST
                "sendInvite": true,             // Optional, default false. true sends the invitation mail
                "contactPerson": {              // Optional. Name and phone numbers of the member
                    "fullName": "Sharif Malik", // Optional. Full name
                    "contactNumber": "+49 371 5552210", // Optional. Primary phone number
                    "alternateContactNumber": "+49 171 5552210" // Optional. Second phone number
                }
            }
        ],
        "locations": [                          // Optional, default an empty list. Storage and delivery points
            {
                "id": null,                     // Optional. Empty on purpose because this site is new
                "title": "Materiallager Hof Süd", // Optional. Name of the location
                "comments": "Nur Schüttgut und Gerüstmaterial.", // Optional. Notes, for example delivery hours
                "defaultLocation": true,        // Always send it. Left out it becomes false and clears the delivery point
                "overrideExistingLocation": false, // Optional, default false. Only matters for an existing location
                "address": {                    // Optional. Address of the location
                    "addressLineOne": "Zwickauer Straße 47", // Optional. Street and number
                    "addressLineTwo": "Hofeinfahrt Süd", // Optional. Gate, building or floor
                    "city": "Chemnitz",         // Optional. Town
                    "country": "Deutschland",   // Optional. Country
                    "zipcode": "09112",         // Optional. Postal code as text
                    "comments": "Wendemöglichkeit für Sattelzüge.", // Optional. Note about the location
                    "mapLink": "50.8285,12.9095", // Optional. Map link or coordinate pair
                    "region": "Sachsen"         // Optional. Federal state
                },
                "members": [                    // Optional. Only emailAddress, and the person must already be on this site
                    { "emailAddress": "sharif.malik@cathago.de" } // Person assigned to this location
                ]
            }
        ],
        "additionalFields": [                       // Optional. The current shape. Named fields are added or updated, the rest are left alone
        {
            "technicalName": "bauherr",         // Required. The key a field is matched on when you save the site again
            "displayName": "Bauherr",           // Optional. The label a person sees
            "value": "Öffentlich",              // Optional. The value, always text
            "valueType": "TEXT",                // Optional, default TEXT. Also NUMBER, FLOAT, DATE, SELECT, MULTI_SELECT, PASSWORD
            "valueOptions": ["Privat", "Öffentlich"], // Optional. The choices, used by SELECT and MULTI_SELECT
            "fieldId": null                     // Optional. Empty on purpose: the names above are enough
        }
    ],                                          // To DELETE every field send exactly [{}] - an empty list [] changes nothing
    "customFieldValues": [                  // Optional, default an empty list. Values for your own additional fields
            {
                "customFieldId": null,          // Optional. Empty on purpose, so the field is created from the names below
                "displayName": "Fördermittel",  // Optional. Label of the additional field
                "technicalName": "foerdermittel", // Optional. Machine-readable name
                "valueType": "SELECT",          // Optional, default TEXT. SELECT uses the choices below
                "valueOptions": ["Bund", "Land", "Keine"], // Optional. The choices, used by SELECT and MULTI_SELECT
                "value": "Land"                 // Optional. The value itself, always sent as text
            }
        ]
    },
    {                                           // Second entry - same fields as above
        "id": null,                             // Optional. Empty on purpose because this site is new
        "tenantId": "C3125110678675695",        // Optional. Left out, your default tenant is used
        "externalProjectId": "BV-2026-0519",    // Optional. Your own key for the site
        "title": "Sanierung Schulzentrum Nord, Bauabschnitt 2", // Required. Up to 1024 characters
        "costCentre": "KST-5121",               // Optional. Cost centre
        "startDate": "2027-03-01",              // Optional. Calendar date as YYYY-MM-DD
        "endDate": "2028-02-29",                // Optional. Calendar date as YYYY-MM-DD
        "budget": 1450000.00,                   // Optional. Plain number, no quotes
        "description": "Turnhalle und Mensa, Innenausbau und Haustechnik.", // Optional. Up to 1024 characters
        "projectStatus": "DRAFT"                // Always send it. DRAFT keeps the site out of ordinary searches
    }
]

Beispielantworten

Bulk Add - Projects | ADD mode

Status: 200 OK

JSON
[
    {
        "externalProjectId": "MUCRES-2026",
        "title": "ADD PROJECT 1",
        "costCentre": "BAU-MUC-902",
        "startDate": "2026-08-01",
        "endDate": "2029-03-15",
        "budget": 6200000.5,
        "description": "Errichtung einer Wohnanlage mit 35 Einheiten, begrüntem Innenhof und Tiefgarage nähe Isarufer.",
        "id": "C0226022363601332",
        "address": {
            "addressLineOne": "Erhardtstraße 12",
            "addressLineTwo": "Hofgebäude",
            "city": "München",
            "country": "Germany",
            "zipcode": "80469",
            "comments": "Zufahrt für Schwerlasttransporte über die Boschbrücke.",
            "mapLink": "48.1305,11.5830",
            "region": null,
            "id": "CCW26022354699861"
        },
        "billingAddress": {
            "addressLineOne": "Maximilianstraße 35",
            "addressLineTwo": "2. Stock",
            "city": "München",
            "country": "Germany",
            "zipcode": "80539",
            "comments": "Rechnungsadresse der Projektgesellschaft.",
            "mapLink": "48.1390,11.5820",
            "region": null,
            "id": "CRK26022353553814",
            "companyName": "Bayerische Immobilien Bau GmbH",
            "vatId": "DE811223344",
            "emailAddress": null,
            "contactPersonName": null
        },
        "members": [
            {
                "id": "CVQ26022354218912",
                "emailAddress": "test-project-three@cathago.de",
                "role": {
                    "roleName": "CONSTRUCTION MANAGER",
                    "roleType": "SYSTEM_DEFINED"
                },
                "invitationSentDate": "2026-02-23T11:06:52.659Z",
                "contactPerson": {
                    "id": "CPW26022382460731",
                    "fullName": "Giriraj Sharma",
                    "emailAddress": "test-project-three@cathago.de",
                    "contactNumber": "+49 89 22334455",
                    "alternateContactNumber": "+49 160 5566778"
                },
                "memberStatus": "PENDING",
                "username": null
            },
            {
                "id": "CPT26022381786635",
                "emailAddress": "ibrahim.jogilkar@cathago.de",
                "role": {
                    "roleName": "PROCUREMENT MANAGER",
                    "roleType": "SYSTEM_DEFINED"
                },
                "invitationSentDate": "2023-03-09T10:20:08.034Z",
                "contactPerson": {
                    "id": "5JloK9VC",
                    "fullName": "Ibrahim Jogilkar",
                    "emailAddress": "ibrahim.jogilkar@cathago.de",
                    "contactNumber": "",
                    "alternateContactNumber": ""
                },
                "memberStatus": "ACTIVE",
                "username": "ibrahim.jogilkar@cathago.de"
            }
        ],
        "locations": [
            {
                "title": "Gerätepark West",
                "comments": "Lager für Kleingeräte und Werkzeuge.",
                "id": "CJN26022332315999",
                "defaultLocation": true,
                "address": {
                    "addressLineOne": "Erhardtstraße 14",
                    "addressLineTwo": "Container-Area",
                    "city": "München",
                    "country": "Germany",
                    "zipcode": "80469",
                    "comments": "24/7 bewachter Bereich.",
                    "mapLink": "48.1306,11.5831",
                    "region": "Bayern",
                    "id": "CQR26022372663402"
                },
                "members": [
                    {
                        "id": "CVQ26022354218912",
                        "emailAddress": "test-project-three@cathago.de",
                        "role": {
                            "roleName": "CONSTRUCTION MANAGER",
                            "roleType": "SYSTEM_DEFINED"
                        },
                        "invitationSentDate": "2026-02-23T11:06:52.659Z",
                        "contactPerson": {
                            "id": "CPW26022382460731",
                            "fullName": "Giriraj Sharma",
                            "emailAddress": "test-project-three@cathago.de",
                            "contactNumber": "+49 89 22334455",
                            "alternateContactNumber": "+49 160 5566778"
                        },
                        "memberStatus": "PENDING",
                        "username": null
                    }
                ],
                "createdAt": "2026-02-23T11:09:53.239Z",
                "lastModifiedAt": "2026-02-23T11:09:53.239Z"
            }
        ],
        "customFieldValues": null,
        "projectStatus": "ACTIVE",
        "tenantId": "C3125110678675695"
    },
    {
        "externalProjectId": "MUN052026",
        "title": "ADD PROJECT 2",
        "costCentre": "COSTHAM002",
        "startDate": "2026-06-15",
        "endDate": "2029-01-20",
        "budget": 8750000.5,
        "description": "Commercial mixed-use development featuring retail spaces and sustainable office hubs.",
        "id": "C0226022387586767",
        "address": {
            "addressLineOne": "Leopoldstrasse 150",
            "addressLineTwo": "Block C",
            "city": "Munich",
            "country": "Germany",
            "zipcode": "80804",
            "comments": "Access via north gate only.",
            "mapLink": "53.5430,9.9920",
            "region": null,
            "id": "CMN26022384452831"
        },
        "billingAddress": {
            "addressLineOne": "Maximilianstrasse 25",
            "addressLineTwo": "Suite 400",
            "city": "Munich",
            "country": "Germany",
            "zipcode": "20354",
            "comments": "Electronic invoicing preferred.",
            "mapLink": "53.5510,9.9910",
            "region": null,
            "id": "CHN26022382273172",
            "companyName": "Bavarian Assets SE",
            "vatId": "DE987654321",
            "emailAddress": null,
            "contactPersonName": null
        },
        "members": [
            {
                "id": "CKO26022343999795",
                "emailAddress": "test-project-four@cathago.de",
                "role": {
                    "roleName": "CONSTRUCTION MANAGER",
                    "roleType": "SYSTEM_DEFINED"
                },
                "invitationSentDate": null,
                "contactPerson": {
                    "id": "CZR26022375663964",
                    "fullName": "Giriraj Construction Manager",
                    "emailAddress": "test-project-four@cathago.de",
                    "contactNumber": "+49 40 99887766",
                    "alternateContactNumber": ""
                },
                "memberStatus": "PENDING",
                "username": null
            },
            {
                "id": "CGB26022380656610",
                "emailAddress": "ibrahim.jogilkar@cathago.de",
                "role": {
                    "roleName": "PROCUREMENT MANAGER",
                    "roleType": "SYSTEM_DEFINED"
                },
                "invitationSentDate": "2023-03-09T10:20:08.034Z",
                "contactPerson": {
                    "id": "5JloK9VC",
                    "fullName": "Ibrahim Jogilkar",
                    "emailAddress": "ibrahim.jogilkar@cathago.de",
                    "contactNumber": "",
                    "alternateContactNumber": ""
                },
                "memberStatus": "ACTIVE",
                "username": "ibrahim.jogilkar@cathago.de"
            }
        ],
        "locations": [
            {
                "title": "West Dock Storage",
                "comments": "Storage for waterproofing materials.",
                "id": "CNL26022339789242",
                "defaultLocation": true,
                "address": {
                    "addressLineOne": "Brooktorkai 12",
                    "addressLineTwo": "Warehouse B",
                    "city": "Hamburg",
                    "country": "Germany",
                    "zipcode": "20457",
                    "comments": "Climate controlled.",
                    "mapLink": "53.5440,9.9980",
                    "region": "Hamburg",
                    "id": "CAT26022376109302"
                },
                "members": [
                    {
                        "id": "CKO26022343999795",
                        "emailAddress": "test-project-four@cathago.de",
                        "role": {
                            "roleName": "CONSTRUCTION MANAGER",
                            "roleType": "SYSTEM_DEFINED"
                        },
                        "invitationSentDate": null,
                        "contactPerson": {
                            "id": "CZR26022375663964",
                            "fullName": "Giriraj Construction Manager",
                            "emailAddress": "test-project-four@cathago.de",
                            "contactNumber": "+49 40 99887766",
                            "alternateContactNumber": ""
                        },
                        "memberStatus": "PENDING",
                        "username": null
                    }
                ],
                "createdAt": "2026-02-23T11:09:53.427Z",
                "lastModifiedAt": "2026-02-23T11:09:53.427Z"
            }
        ],
        "customFieldValues": null,
        "projectStatus": "ACTIVE",
        "tenantId": "C3125110678675695"
    }
]