Kontakte
/api/v1/contactsKunden, Schuldner und Lieferanten mit Kennzahlen (Anzahl Forderungen, offener Betrag). Neueste zuerst.
Berechtigung: contacts:read
Query-Parameter
qstringSuche in Name, Firma, E-Mail, Telefon, Ort, Kunden-/Lieferantennummermax. 100 Zeichenrole"customer" | "debtor" | "supplier"archived"true" | "false" | "all"Archivierte Kontakte einbeziehenStandard: "false"open"true" | "false"true = nur mit offenem Betrag, false = nur ohnesort"created_desc" | "name_asc" | "name_desc" | "open_desc" | "open_asc" | "updated_desc"Reihenfolge: created_desc (Standard, neueste zuerst), name_asc, name_desc, open_desc, open_asc, updated_descStandard: "created_desc"limitintegerAnzahl Einträge (1–100)1–100 · Standard: 25cursorstring`nextCursor` der vorherigen Seitemax. 500 Zeichen
Antwort 200
object"list"PflichtdataArray<Contact>PflichtidstringPflichtobject"contact"Pflichtkind"person" | "company"PflichtrolesArray<"customer" | "debtor" | "supplier">PflichtdisplayNamestringPflichtfirstNamestringPflichtmiddleNamestringPflichtlastNamestringPflichtcompanystringPflichtgenderstringPflichtbirthDatestring (date) | nullPflichtDatum (YYYY-MM-DD)birthPlacestringPflichtemailsArray<string>PflichtphonesArray<string>PflichtaddressesArray<ContactAddress>PflichttypestringPflichthome, work oder othermax. 20 Zeichen · Standard: "home"streetstringPflichtmax. 160 Zeichen · Standard: ""houseNumberstringPflichtmax. 20 Zeichen · Standard: ""zipCodestringPflichtmax. 10 Zeichen · Standard: ""citystringPflichtmax. 80 Zeichen · Standard: ""countrystringPflichtmax. 60 Zeichen · Standard: "Deutschland"
socialsArray<SocialProfile>PflichtplatformstringPflichtmax. 40 ZeichenusernamestringPflichtmax. 200 Zeichen
notesstringPflichtlanguage"de" | "en"PflichtKorrespondenzsprache für Mahnungen, Briefe, Rechnungen und Angebote (Standard de)customerNumberstring | nullPflichtsupplierNumberstring | nullPflichtvatIdstring | nullPflichttaxNumberstring | nullPflichtbillingEmailstring | nullPflichtbillingAddressPostalAddress | nullPflichtnamestringPflichtFirma oder Namemax. 160 ZeichenadditionstringZusatz, z. B. z. Hd. / Abteilungmax. 160 ZeichenstreetstringPflichtStraße und Hausnummermax. 160 ZeichenzipCodestringPflichtmax. 10 ZeichencitystringPflichtmax. 80 ZeichencountrystringPflichtLändercode ISO 3166-1 alpha-2max. 2 Zeichen · Standard: "DE"
leitwegIdstring | nullPflichtpaymentTermsDaysinteger | nullPflicht-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullPflichtSteuerbehandlung des BelegspriceMode"net" | "gross" | nullPflichteinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullPflichtclientIdstring | nullPflichtMandant (Inkasso/Kanzlei)archivedAtstring (date-time) | nullPflichtZeitpunkt (ISO 8601)statsContactStatsPflichtdebtCountintegerPflicht-9007199254740991–9007199254740991openDebtCountintegerPflicht-9007199254740991–9007199254740991totalCentsintegerPflichtSumme der Hauptforderungen-100000000000–100000000000openCentsintegerPflichtOffen inkl. Kosten abzüglich Zahlungen-100000000000–100000000000
createdAtstring (date-time)PflichtZeitpunkt (ISO 8601)updatedAtstring (date-time)PflichtZeitpunkt (ISO 8601)
hasMorebooleanPflichtnextCursorstring | nullPflicht
curl 'https://www.debt-flow.io/api/v1/contacts' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"object": "list",
"data": [
{
"id": "string",
"object": "contact",
"kind": "person",
"roles": [
"customer"
],
"displayName": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"gender": "string",
"birthDate": "2026-11-01",
"birthPlace": "string",
"emails": [
"string"
],
"phones": [
"string"
],
"addresses": [
{
"type": null,
"street": null,
"houseNumber": null,
"zipCode": null,
"city": null,
"country": null
}
],
"socials": [
{
"platform": null,
"username": null
}
],
"notes": "string",
"language": "de",
"customerNumber": "string",
"supplierNumber": "string",
"vatId": "string",
"taxNumber": "string",
"billingEmail": "string",
"billingAddress": {
"name": null,
"addition": null,
"street": null,
"zipCode": null,
"city": null,
"country": null
},
"leitwegId": "string",
"paymentTermsDays": 0,
"defaultTaxTreatment": "regular",
"priceMode": "net",
"einvoicePreference": "pdf",
"clientId": "string",
"archivedAt": "2026-11-01T09:30:00.000Z",
"stats": {
"debtCount": 0,
"openDebtCount": 0,
"totalCents": 0,
"openCents": 0
},
"createdAt": "2026-11-01T09:30:00.000Z",
"updatedAt": "2026-11-01T09:30:00.000Z"
}
],
"hasMore": false,
"nextCursor": "string"
}/api/v1/contactsDie Anzahl der Kontakte ist durch das Abo begrenzt (Fehler plan_limit_reached).
Berechtigung: contacts:write
Header
Idempotency-KeystringEindeutiger Schlüssel (8–255 Zeichen). Wiederholte Anfragen mit gleichem Schlüssel liefern 24 h lang dieselbe Antwort.max. 255 Zeichen
Body (JSON) · ContactCreate
kind"person" | "company"rolesArray<"customer" | "debtor" | "supplier">firstNamestringmax. 80 ZeichenmiddleNamestringmax. 80 ZeichenlastNamestringmax. 80 Zeichencompanystringmax. 160 Zeichengenderstringmax. 20 ZeichenbirthDatestring (date) | nullDatum (YYYY-MM-DD)birthPlacestringmax. 80 ZeichenemailsArray<string (email)>max. 254 ZeichenphonesArray<string>max. 40 ZeichenaddressesArray<ContactAddress>typestringPflichthome, work oder othermax. 20 Zeichen · Standard: "home"streetstringPflichtmax. 160 Zeichen · Standard: ""houseNumberstringPflichtmax. 20 Zeichen · Standard: ""zipCodestringPflichtmax. 10 Zeichen · Standard: ""citystringPflichtmax. 80 Zeichen · Standard: ""countrystringPflichtmax. 60 Zeichen · Standard: "Deutschland"
socialsArray<SocialProfile>platformstringPflichtmax. 40 ZeichenusernamestringPflichtmax. 200 Zeichen
notesstringmax. 10000 Zeichenlanguage"de" | "en"Korrespondenzsprache (de oder en), Standard decustomerNumberstring | nullmax. 40 ZeichensupplierNumberstring | nullmax. 40 ZeichenvatIdstring | nulltaxNumberstring | nullmax. 40 ZeichenbillingEmailstring (email) | nullmax. 254 ZeichenbillingAddressPostalAddress | nullnamestringPflichtFirma oder Namemax. 160 ZeichenadditionstringZusatz, z. B. z. Hd. / Abteilungmax. 160 ZeichenstreetstringPflichtStraße und Hausnummermax. 160 ZeichenzipCodestringPflichtmax. 10 ZeichencitystringPflichtmax. 80 ZeichencountrystringPflichtLändercode ISO 3166-1 alpha-2max. 2 Zeichen · Standard: "DE"
leitwegIdstring | nullmax. 46 ZeichenpaymentTermsDaysinteger | null0–365defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullSteuerbehandlung des BelegspriceMode"net" | "gross" | nulleinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullclientIdstring | nullmax. 128 Zeichen
Antwort 201 · Contact
idstringPflichtobject"contact"Pflichtkind"person" | "company"PflichtrolesArray<"customer" | "debtor" | "supplier">PflichtdisplayNamestringPflichtfirstNamestringPflichtmiddleNamestringPflichtlastNamestringPflichtcompanystringPflichtgenderstringPflichtbirthDatestring (date) | nullPflichtDatum (YYYY-MM-DD)birthPlacestringPflichtemailsArray<string>PflichtphonesArray<string>PflichtaddressesArray<ContactAddress>PflichttypestringPflichthome, work oder othermax. 20 Zeichen · Standard: "home"streetstringPflichtmax. 160 Zeichen · Standard: ""houseNumberstringPflichtmax. 20 Zeichen · Standard: ""zipCodestringPflichtmax. 10 Zeichen · Standard: ""citystringPflichtmax. 80 Zeichen · Standard: ""countrystringPflichtmax. 60 Zeichen · Standard: "Deutschland"
socialsArray<SocialProfile>PflichtplatformstringPflichtmax. 40 ZeichenusernamestringPflichtmax. 200 Zeichen
notesstringPflichtlanguage"de" | "en"PflichtKorrespondenzsprache für Mahnungen, Briefe, Rechnungen und Angebote (Standard de)customerNumberstring | nullPflichtsupplierNumberstring | nullPflichtvatIdstring | nullPflichttaxNumberstring | nullPflichtbillingEmailstring | nullPflichtbillingAddressPostalAddress | nullPflichtnamestringPflichtFirma oder Namemax. 160 ZeichenadditionstringZusatz, z. B. z. Hd. / Abteilungmax. 160 ZeichenstreetstringPflichtStraße und Hausnummermax. 160 ZeichenzipCodestringPflichtmax. 10 ZeichencitystringPflichtmax. 80 ZeichencountrystringPflichtLändercode ISO 3166-1 alpha-2max. 2 Zeichen · Standard: "DE"
leitwegIdstring | nullPflichtpaymentTermsDaysinteger | nullPflicht-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullPflichtSteuerbehandlung des BelegspriceMode"net" | "gross" | nullPflichteinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullPflichtclientIdstring | nullPflichtMandant (Inkasso/Kanzlei)archivedAtstring (date-time) | nullPflichtZeitpunkt (ISO 8601)statsContactStatsPflichtdebtCountintegerPflicht-9007199254740991–9007199254740991openDebtCountintegerPflicht-9007199254740991–9007199254740991totalCentsintegerPflichtSumme der Hauptforderungen-100000000000–100000000000openCentsintegerPflichtOffen inkl. Kosten abzüglich Zahlungen-100000000000–100000000000
createdAtstring (date-time)PflichtZeitpunkt (ISO 8601)updatedAtstring (date-time)PflichtZeitpunkt (ISO 8601)
curl -X POST 'https://www.debt-flow.io/api/v1/contacts' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"kind": "person",
"roles": [
"customer"
],
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"gender": "string",
"birthDate": "2026-11-01",
"birthPlace": "string",
"emails": [
"[email protected]"
],
"phones": [
"string"
],
"addresses": [
{
"type": "home",
"street": "",
"houseNumber": "",
"zipCode": "",
"city": "",
"country": "Deutschland"
}
],
"socials": [
{
"platform": "string",
"username": "string"
}
],
"notes": "string",
"language": "de",
"customerNumber": "string",
"supplierNumber": "string",
"vatId": "string",
"taxNumber": "string",
"billingEmail": "[email protected]",
"billingAddress": {
"name": "string",
"addition": "string",
"street": "string",
"zipCode": "string",
"city": "string",
"country": "DE"
},
"leitwegId": "string",
"paymentTermsDays": 0,
"defaultTaxTreatment": "regular",
"priceMode": "net",
"einvoicePreference": "pdf",
"clientId": "string"
}'{
"id": "string",
"object": "contact",
"kind": "person",
"roles": [
"customer"
],
"displayName": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"gender": "string",
"birthDate": "2026-11-01",
"birthPlace": "string",
"emails": [
"string"
],
"phones": [
"string"
],
"addresses": [
{
"type": "home",
"street": "",
"houseNumber": "",
"zipCode": "",
"city": "",
"country": "Deutschland"
}
],
"socials": [
{
"platform": "string",
"username": "string"
}
],
"notes": "string",
"language": "de",
"customerNumber": "string",
"supplierNumber": "string",
"vatId": "string",
"taxNumber": "string",
"billingEmail": "string",
"billingAddress": {
"name": "string",
"addition": "string",
"street": "string",
"zipCode": "string",
"city": "string",
"country": "DE"
},
"leitwegId": "string",
"paymentTermsDays": 0,
"defaultTaxTreatment": "regular",
"priceMode": "net",
"einvoicePreference": "pdf",
"clientId": "string",
"archivedAt": "2026-11-01T09:30:00.000Z",
"stats": {
"debtCount": 0,
"openDebtCount": 0,
"totalCents": 0,
"openCents": 0
},
"createdAt": "2026-11-01T09:30:00.000Z",
"updatedAt": "2026-11-01T09:30:00.000Z"
}/api/v1/contacts/{id}Berechtigung: contacts:read
Pfadparameter
idstringPflichtID der Ressourcemax. 128 Zeichen
Antwort 200 · Contact
idstringPflichtobject"contact"Pflichtkind"person" | "company"PflichtrolesArray<"customer" | "debtor" | "supplier">PflichtdisplayNamestringPflichtfirstNamestringPflichtmiddleNamestringPflichtlastNamestringPflichtcompanystringPflichtgenderstringPflichtbirthDatestring (date) | nullPflichtDatum (YYYY-MM-DD)birthPlacestringPflichtemailsArray<string>PflichtphonesArray<string>PflichtaddressesArray<ContactAddress>PflichttypestringPflichthome, work oder othermax. 20 Zeichen · Standard: "home"streetstringPflichtmax. 160 Zeichen · Standard: ""houseNumberstringPflichtmax. 20 Zeichen · Standard: ""zipCodestringPflichtmax. 10 Zeichen · Standard: ""citystringPflichtmax. 80 Zeichen · Standard: ""countrystringPflichtmax. 60 Zeichen · Standard: "Deutschland"
socialsArray<SocialProfile>PflichtplatformstringPflichtmax. 40 ZeichenusernamestringPflichtmax. 200 Zeichen
notesstringPflichtlanguage"de" | "en"PflichtKorrespondenzsprache für Mahnungen, Briefe, Rechnungen und Angebote (Standard de)customerNumberstring | nullPflichtsupplierNumberstring | nullPflichtvatIdstring | nullPflichttaxNumberstring | nullPflichtbillingEmailstring | nullPflichtbillingAddressPostalAddress | nullPflichtnamestringPflichtFirma oder Namemax. 160 ZeichenadditionstringZusatz, z. B. z. Hd. / Abteilungmax. 160 ZeichenstreetstringPflichtStraße und Hausnummermax. 160 ZeichenzipCodestringPflichtmax. 10 ZeichencitystringPflichtmax. 80 ZeichencountrystringPflichtLändercode ISO 3166-1 alpha-2max. 2 Zeichen · Standard: "DE"
leitwegIdstring | nullPflichtpaymentTermsDaysinteger | nullPflicht-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullPflichtSteuerbehandlung des BelegspriceMode"net" | "gross" | nullPflichteinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullPflichtclientIdstring | nullPflichtMandant (Inkasso/Kanzlei)archivedAtstring (date-time) | nullPflichtZeitpunkt (ISO 8601)statsContactStatsPflichtdebtCountintegerPflicht-9007199254740991–9007199254740991openDebtCountintegerPflicht-9007199254740991–9007199254740991totalCentsintegerPflichtSumme der Hauptforderungen-100000000000–100000000000openCentsintegerPflichtOffen inkl. Kosten abzüglich Zahlungen-100000000000–100000000000
createdAtstring (date-time)PflichtZeitpunkt (ISO 8601)updatedAtstring (date-time)PflichtZeitpunkt (ISO 8601)
curl 'https://www.debt-flow.io/api/v1/contacts/ID' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"id": "string",
"object": "contact",
"kind": "person",
"roles": [
"customer"
],
"displayName": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"gender": "string",
"birthDate": "2026-11-01",
"birthPlace": "string",
"emails": [
"string"
],
"phones": [
"string"
],
"addresses": [
{
"type": "home",
"street": "",
"houseNumber": "",
"zipCode": "",
"city": "",
"country": "Deutschland"
}
],
"socials": [
{
"platform": "string",
"username": "string"
}
],
"notes": "string",
"language": "de",
"customerNumber": "string",
"supplierNumber": "string",
"vatId": "string",
"taxNumber": "string",
"billingEmail": "string",
"billingAddress": {
"name": "string",
"addition": "string",
"street": "string",
"zipCode": "string",
"city": "string",
"country": "DE"
},
"leitwegId": "string",
"paymentTermsDays": 0,
"defaultTaxTreatment": "regular",
"priceMode": "net",
"einvoicePreference": "pdf",
"clientId": "string",
"archivedAt": "2026-11-01T09:30:00.000Z",
"stats": {
"debtCount": 0,
"openDebtCount": 0,
"totalCents": 0,
"openCents": 0
},
"createdAt": "2026-11-01T09:30:00.000Z",
"updatedAt": "2026-11-01T09:30:00.000Z"
}/api/v1/contacts/{id}Nur übermittelte Felder werden geändert; null leert ein optionales Feld. archived: true archiviert den Kontakt.
Berechtigung: contacts:write
Pfadparameter
idstringPflichtID der Ressourcemax. 128 Zeichen
Body (JSON) · ContactUpdate
kind"person" | "company"rolesArray<"customer" | "debtor" | "supplier">firstNamestringmax. 80 ZeichenmiddleNamestringmax. 80 ZeichenlastNamestringmax. 80 Zeichencompanystringmax. 160 Zeichengenderstringmax. 20 ZeichenbirthDatestring (date) | nullDatum (YYYY-MM-DD)birthPlacestringmax. 80 ZeichenemailsArray<string (email)>max. 254 ZeichenphonesArray<string>max. 40 ZeichenaddressesArray<ContactAddress>typestringPflichthome, work oder othermax. 20 Zeichen · Standard: "home"streetstringPflichtmax. 160 Zeichen · Standard: ""houseNumberstringPflichtmax. 20 Zeichen · Standard: ""zipCodestringPflichtmax. 10 Zeichen · Standard: ""citystringPflichtmax. 80 Zeichen · Standard: ""countrystringPflichtmax. 60 Zeichen · Standard: "Deutschland"
socialsArray<SocialProfile>platformstringPflichtmax. 40 ZeichenusernamestringPflichtmax. 200 Zeichen
notesstringmax. 10000 Zeichenlanguage"de" | "en"Korrespondenzsprache (de oder en), Standard decustomerNumberstring | nullmax. 40 ZeichensupplierNumberstring | nullmax. 40 ZeichenvatIdstring | nulltaxNumberstring | nullmax. 40 ZeichenbillingEmailstring (email) | nullmax. 254 ZeichenbillingAddressPostalAddress | nullnamestringPflichtFirma oder Namemax. 160 ZeichenadditionstringZusatz, z. B. z. Hd. / Abteilungmax. 160 ZeichenstreetstringPflichtStraße und Hausnummermax. 160 ZeichenzipCodestringPflichtmax. 10 ZeichencitystringPflichtmax. 80 ZeichencountrystringPflichtLändercode ISO 3166-1 alpha-2max. 2 Zeichen · Standard: "DE"
leitwegIdstring | nullmax. 46 ZeichenpaymentTermsDaysinteger | null0–365defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullSteuerbehandlung des BelegspriceMode"net" | "gross" | nulleinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullclientIdstring | nullmax. 128 Zeichenarchivedbooleantrue archiviert, false holt zurück
Antwort 200 · Contact
idstringPflichtobject"contact"Pflichtkind"person" | "company"PflichtrolesArray<"customer" | "debtor" | "supplier">PflichtdisplayNamestringPflichtfirstNamestringPflichtmiddleNamestringPflichtlastNamestringPflichtcompanystringPflichtgenderstringPflichtbirthDatestring (date) | nullPflichtDatum (YYYY-MM-DD)birthPlacestringPflichtemailsArray<string>PflichtphonesArray<string>PflichtaddressesArray<ContactAddress>PflichttypestringPflichthome, work oder othermax. 20 Zeichen · Standard: "home"streetstringPflichtmax. 160 Zeichen · Standard: ""houseNumberstringPflichtmax. 20 Zeichen · Standard: ""zipCodestringPflichtmax. 10 Zeichen · Standard: ""citystringPflichtmax. 80 Zeichen · Standard: ""countrystringPflichtmax. 60 Zeichen · Standard: "Deutschland"
socialsArray<SocialProfile>PflichtplatformstringPflichtmax. 40 ZeichenusernamestringPflichtmax. 200 Zeichen
notesstringPflichtlanguage"de" | "en"PflichtKorrespondenzsprache für Mahnungen, Briefe, Rechnungen und Angebote (Standard de)customerNumberstring | nullPflichtsupplierNumberstring | nullPflichtvatIdstring | nullPflichttaxNumberstring | nullPflichtbillingEmailstring | nullPflichtbillingAddressPostalAddress | nullPflichtnamestringPflichtFirma oder Namemax. 160 ZeichenadditionstringZusatz, z. B. z. Hd. / Abteilungmax. 160 ZeichenstreetstringPflichtStraße und Hausnummermax. 160 ZeichenzipCodestringPflichtmax. 10 ZeichencitystringPflichtmax. 80 ZeichencountrystringPflichtLändercode ISO 3166-1 alpha-2max. 2 Zeichen · Standard: "DE"
leitwegIdstring | nullPflichtpaymentTermsDaysinteger | nullPflicht-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullPflichtSteuerbehandlung des BelegspriceMode"net" | "gross" | nullPflichteinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullPflichtclientIdstring | nullPflichtMandant (Inkasso/Kanzlei)archivedAtstring (date-time) | nullPflichtZeitpunkt (ISO 8601)statsContactStatsPflichtdebtCountintegerPflicht-9007199254740991–9007199254740991openDebtCountintegerPflicht-9007199254740991–9007199254740991totalCentsintegerPflichtSumme der Hauptforderungen-100000000000–100000000000openCentsintegerPflichtOffen inkl. Kosten abzüglich Zahlungen-100000000000–100000000000
createdAtstring (date-time)PflichtZeitpunkt (ISO 8601)updatedAtstring (date-time)PflichtZeitpunkt (ISO 8601)
curl -X PATCH 'https://www.debt-flow.io/api/v1/contacts/ID' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"kind": "person",
"roles": [
"customer"
],
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"gender": "string",
"birthDate": "2026-11-01",
"birthPlace": "string",
"emails": [
"[email protected]"
],
"phones": [
"string"
],
"addresses": [
{
"type": "home",
"street": "",
"houseNumber": "",
"zipCode": "",
"city": "",
"country": "Deutschland"
}
],
"socials": [
{
"platform": "string",
"username": "string"
}
],
"notes": "string",
"language": "de",
"customerNumber": "string",
"supplierNumber": "string",
"vatId": "string",
"taxNumber": "string",
"billingEmail": "[email protected]",
"billingAddress": {
"name": "string",
"addition": "string",
"street": "string",
"zipCode": "string",
"city": "string",
"country": "DE"
},
"leitwegId": "string",
"paymentTermsDays": 0,
"defaultTaxTreatment": "regular",
"priceMode": "net",
"einvoicePreference": "pdf",
"clientId": "string",
"archived": false
}'{
"id": "string",
"object": "contact",
"kind": "person",
"roles": [
"customer"
],
"displayName": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"gender": "string",
"birthDate": "2026-11-01",
"birthPlace": "string",
"emails": [
"string"
],
"phones": [
"string"
],
"addresses": [
{
"type": "home",
"street": "",
"houseNumber": "",
"zipCode": "",
"city": "",
"country": "Deutschland"
}
],
"socials": [
{
"platform": "string",
"username": "string"
}
],
"notes": "string",
"language": "de",
"customerNumber": "string",
"supplierNumber": "string",
"vatId": "string",
"taxNumber": "string",
"billingEmail": "string",
"billingAddress": {
"name": "string",
"addition": "string",
"street": "string",
"zipCode": "string",
"city": "string",
"country": "DE"
},
"leitwegId": "string",
"paymentTermsDays": 0,
"defaultTaxTreatment": "regular",
"priceMode": "net",
"einvoicePreference": "pdf",
"clientId": "string",
"archivedAt": "2026-11-01T09:30:00.000Z",
"stats": {
"debtCount": 0,
"openDebtCount": 0,
"totalCents": 0,
"openCents": 0
},
"createdAt": "2026-11-01T09:30:00.000Z",
"updatedAt": "2026-11-01T09:30:00.000Z"
}/api/v1/contacts/{id}Löscht den Kontakt und alle zugehörigen Forderungen (wie im Dashboard). Zum Ausblenden stattdessen archivieren.
Berechtigung: contacts:write
Pfadparameter
idstringPflichtID der Ressourcemax. 128 Zeichen
Antwort 204
Erfolg, keine Antwort
curl -X DELETE 'https://www.debt-flow.io/api/v1/contacts/ID' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"/api/v1/contacts/{id}/communicationsProtokollierte Kommunikation (Telefonate, E-Mails, Briefe, Termine), neueste zuerst.
Berechtigung: contacts:read
Pfadparameter
idstringPflichtID der Ressourcemax. 128 Zeichen
Query-Parameter
limitintegerAnzahl Einträge (1–100)1–100 · Standard: 25cursorstring`nextCursor` der vorherigen Seitemax. 500 Zeichen
Antwort 200
object"list"PflichtdataArray<Communication>PflichtidstringPflichtobject"communication"PflichtcontactIdstringPflichttypestringPflichtz. B. email, phone, letter, meeting, otherdirection"incoming" | "outgoing" | nullPflichtsubjectstringPflichtcontentstringPflichtdatestring (date-time)PflichtZeitpunkt (ISO 8601)createdAtstring (date-time)PflichtZeitpunkt (ISO 8601)
hasMorebooleanPflichtnextCursorstring | nullPflicht
curl 'https://www.debt-flow.io/api/v1/contacts/ID/communications' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"{
"object": "list",
"data": [
{
"id": "string",
"object": "communication",
"contactId": "string",
"type": "string",
"direction": "incoming",
"subject": "string",
"content": "string",
"date": "2026-11-01T09:30:00.000Z",
"createdAt": "2026-11-01T09:30:00.000Z"
}
],
"hasMore": false,
"nextCursor": "string"
}/api/v1/contacts/{id}/communicationsLegt einen Eintrag im Kommunikationsprotokoll an (es wird nichts versendet). Ereignis communication.created.
Berechtigung: contacts:write
Pfadparameter
idstringPflichtID der Ressourcemax. 128 Zeichen
Header
Idempotency-KeystringEindeutiger Schlüssel (8–255 Zeichen). Wiederholte Anfragen mit gleichem Schlüssel liefern 24 h lang dieselbe Antwort.max. 255 Zeichen
Body (JSON) · CommunicationCreate
typestringPflichtmax. 40 ZeichensubjectstringPflichtmax. 300 Zeichencontentstringmax. 10000 Zeichendirection"incoming" | "outgoing"datestring (date-time)Zeitpunkt der Kommunikation (Standard: jetzt)
Antwort 201 · Communication
idstringPflichtobject"communication"PflichtcontactIdstringPflichttypestringPflichtz. B. email, phone, letter, meeting, otherdirection"incoming" | "outgoing" | nullPflichtsubjectstringPflichtcontentstringPflichtdatestring (date-time)PflichtZeitpunkt (ISO 8601)createdAtstring (date-time)PflichtZeitpunkt (ISO 8601)
curl -X POST 'https://www.debt-flow.io/api/v1/contacts/ID/communications' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"type": "string",
"subject": "string",
"content": "string",
"direction": "incoming",
"date": "2026-11-01T09:30:00.000Z"
}'{
"id": "string",
"object": "communication",
"contactId": "string",
"type": "string",
"direction": "incoming",
"subject": "string",
"content": "string",
"date": "2026-11-01T09:30:00.000Z",
"createdAt": "2026-11-01T09:30:00.000Z"
}