Contacts
/api/v1/contactsCustomers, debtors and suppliers with key figures (number of debts, outstanding amount). Newest first.
Permission: contacts:read
Query parameters
qstringSearch in name, company, email, phone, city, customer/supplier numbermax. 100 charactersrole"customer" | "debtor" | "supplier"archived"true" | "false" | "all"Include archived contactsDefault: "false"open"true" | "false"true = only with an outstanding amount, false = only withoutsort"created_desc" | "name_asc" | "name_desc" | "open_desc" | "open_asc" | "updated_desc"Sort order: created_desc (default, newest first), name_asc, name_desc, open_desc, open_asc, updated_descDefault: "created_desc"limitintegerNumber of entries (1–100)1–100 · Default: 25cursorstring`nextCursor` of the previous pagemax. 500 characters
Response 200
object"list"requireddataArray<Contact>requiredidstringrequiredobject"contact"requiredkind"person" | "company"requiredrolesArray<"customer" | "debtor" | "supplier">requireddisplayNamestringrequiredfirstNamestringrequiredmiddleNamestringrequiredlastNamestringrequiredcompanystringrequiredgenderstringrequiredbirthDatestring (date) | nullrequiredDate (YYYY-MM-DD)birthPlacestringrequiredemailsArray<string>requiredphonesArray<string>requiredaddressesArray<ContactAddress>requiredtypestringrequiredhome, work or othermax. 20 characters · Default: "home"streetstringrequiredmax. 160 characters · Default: ""houseNumberstringrequiredmax. 20 characters · Default: ""zipCodestringrequiredmax. 10 characters · Default: ""citystringrequiredmax. 80 characters · Default: ""countrystringrequiredmax. 60 characters · Default: "Deutschland"
socialsArray<SocialProfile>requiredplatformstringrequiredmax. 40 charactersusernamestringrequiredmax. 200 characters
notesstringrequiredlanguage"de" | "en"requiredCorrespondence language for dunning letters, letters, invoices and quotes (default de)customerNumberstring | nullrequiredsupplierNumberstring | nullrequiredvatIdstring | nullrequiredtaxNumberstring | nullrequiredbillingEmailstring | nullrequiredbillingAddressPostalAddress | nullrequirednamestringrequiredCompany or namemax. 160 charactersadditionstringAddress supplement, e.g. attn. / departmentmax. 160 charactersstreetstringrequiredStreet and house numbermax. 160 characterszipCodestringrequiredmax. 10 characterscitystringrequiredmax. 80 characterscountrystringrequiredCountry code ISO 3166-1 alpha-2max. 2 characters · Default: "DE"
leitwegIdstring | nullrequiredpaymentTermsDaysinteger | nullrequired-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullrequiredTax treatment of the receiptpriceMode"net" | "gross" | nullrequiredeinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullrequiredeinvoiceRecipientType"business" | "public_authority" | nullrequiredE-invoice recipient profile: business (B2B, no Leitweg-ID needed) or public_authority (B2G, Leitweg-ID required)clientIdstring | nullrequiredClient (collection agency/law firm)archivedAtstring (date-time) | nullrequiredTimestamp (ISO 8601)statsContactStatsrequireddebtCountintegerrequired-9007199254740991–9007199254740991openDebtCountintegerrequired-9007199254740991–9007199254740991totalCentsintegerrequiredTotal principal-100000000000–100000000000openCentsintegerrequiredOutstanding including costs less payments-100000000000–100000000000
createdAtstring (date-time)requiredTimestamp (ISO 8601)updatedAtstring (date-time)requiredTimestamp (ISO 8601)
hasMorebooleanrequirednextCursorstring | nullrequired
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",
"einvoiceRecipientType": "business",
"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/contactsThe number of contacts is limited by your subscription plan (error plan_limit_reached).
Permission: contacts:write
Headers
Idempotency-KeystringUnique key (8–255 characters). Repeated requests with the same key return the same response for 24 h.max. 255 characters
Body (JSON) · ContactCreate
kind"person" | "company"rolesArray<"customer" | "debtor" | "supplier">firstNamestringmax. 80 charactersmiddleNamestringmax. 80 characterslastNamestringmax. 80 characterscompanystringmax. 160 charactersgenderstringmax. 20 charactersbirthDatestring (date) | nullDate (YYYY-MM-DD)birthPlacestringmax. 80 charactersemailsArray<string (email)>max. 254 charactersphonesArray<string>max. 40 charactersaddressesArray<ContactAddress>typestringrequiredhome, work or othermax. 20 characters · Default: "home"streetstringrequiredmax. 160 characters · Default: ""houseNumberstringrequiredmax. 20 characters · Default: ""zipCodestringrequiredmax. 10 characters · Default: ""citystringrequiredmax. 80 characters · Default: ""countrystringrequiredmax. 60 characters · Default: "Deutschland"
socialsArray<SocialProfile>platformstringrequiredmax. 40 charactersusernamestringrequiredmax. 200 characters
notesstringmax. 10000 characterslanguage"de" | "en"Correspondence language (de or en), default decustomerNumberstring | nullmax. 40 characterssupplierNumberstring | nullmax. 40 charactersvatIdstring | nulltaxNumberstring | nullmax. 40 charactersbillingEmailstring (email) | nullmax. 254 charactersbillingAddressPostalAddress | nullnamestringrequiredCompany or namemax. 160 charactersadditionstringAddress supplement, e.g. attn. / departmentmax. 160 charactersstreetstringrequiredStreet and house numbermax. 160 characterszipCodestringrequiredmax. 10 characterscitystringrequiredmax. 80 characterscountrystringrequiredCountry code ISO 3166-1 alpha-2max. 2 characters · Default: "DE"
leitwegIdstring | nullmax. 46 characterspaymentTermsDaysinteger | null0–365defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullTax treatment of the receiptpriceMode"net" | "gross" | nulleinvoicePreference"pdf" | "zugferd" | "xrechnung" | nulleinvoiceRecipientType"business" | "public_authority" | nullclientIdstring | nullmax. 128 characters
Response 201 · Contact
idstringrequiredobject"contact"requiredkind"person" | "company"requiredrolesArray<"customer" | "debtor" | "supplier">requireddisplayNamestringrequiredfirstNamestringrequiredmiddleNamestringrequiredlastNamestringrequiredcompanystringrequiredgenderstringrequiredbirthDatestring (date) | nullrequiredDate (YYYY-MM-DD)birthPlacestringrequiredemailsArray<string>requiredphonesArray<string>requiredaddressesArray<ContactAddress>requiredtypestringrequiredhome, work or othermax. 20 characters · Default: "home"streetstringrequiredmax. 160 characters · Default: ""houseNumberstringrequiredmax. 20 characters · Default: ""zipCodestringrequiredmax. 10 characters · Default: ""citystringrequiredmax. 80 characters · Default: ""countrystringrequiredmax. 60 characters · Default: "Deutschland"
socialsArray<SocialProfile>requiredplatformstringrequiredmax. 40 charactersusernamestringrequiredmax. 200 characters
notesstringrequiredlanguage"de" | "en"requiredCorrespondence language for dunning letters, letters, invoices and quotes (default de)customerNumberstring | nullrequiredsupplierNumberstring | nullrequiredvatIdstring | nullrequiredtaxNumberstring | nullrequiredbillingEmailstring | nullrequiredbillingAddressPostalAddress | nullrequirednamestringrequiredCompany or namemax. 160 charactersadditionstringAddress supplement, e.g. attn. / departmentmax. 160 charactersstreetstringrequiredStreet and house numbermax. 160 characterszipCodestringrequiredmax. 10 characterscitystringrequiredmax. 80 characterscountrystringrequiredCountry code ISO 3166-1 alpha-2max. 2 characters · Default: "DE"
leitwegIdstring | nullrequiredpaymentTermsDaysinteger | nullrequired-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullrequiredTax treatment of the receiptpriceMode"net" | "gross" | nullrequiredeinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullrequiredeinvoiceRecipientType"business" | "public_authority" | nullrequiredE-invoice recipient profile: business (B2B, no Leitweg-ID needed) or public_authority (B2G, Leitweg-ID required)clientIdstring | nullrequiredClient (collection agency/law firm)archivedAtstring (date-time) | nullrequiredTimestamp (ISO 8601)statsContactStatsrequireddebtCountintegerrequired-9007199254740991–9007199254740991openDebtCountintegerrequired-9007199254740991–9007199254740991totalCentsintegerrequiredTotal principal-100000000000–100000000000openCentsintegerrequiredOutstanding including costs less payments-100000000000–100000000000
createdAtstring (date-time)requiredTimestamp (ISO 8601)updatedAtstring (date-time)requiredTimestamp (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",
"einvoiceRecipientType": "business",
"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",
"einvoiceRecipientType": "business",
"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}Permission: contacts:read
Path parameters
idstringrequiredResource IDmax. 128 characters
Response 200 · Contact
idstringrequiredobject"contact"requiredkind"person" | "company"requiredrolesArray<"customer" | "debtor" | "supplier">requireddisplayNamestringrequiredfirstNamestringrequiredmiddleNamestringrequiredlastNamestringrequiredcompanystringrequiredgenderstringrequiredbirthDatestring (date) | nullrequiredDate (YYYY-MM-DD)birthPlacestringrequiredemailsArray<string>requiredphonesArray<string>requiredaddressesArray<ContactAddress>requiredtypestringrequiredhome, work or othermax. 20 characters · Default: "home"streetstringrequiredmax. 160 characters · Default: ""houseNumberstringrequiredmax. 20 characters · Default: ""zipCodestringrequiredmax. 10 characters · Default: ""citystringrequiredmax. 80 characters · Default: ""countrystringrequiredmax. 60 characters · Default: "Deutschland"
socialsArray<SocialProfile>requiredplatformstringrequiredmax. 40 charactersusernamestringrequiredmax. 200 characters
notesstringrequiredlanguage"de" | "en"requiredCorrespondence language for dunning letters, letters, invoices and quotes (default de)customerNumberstring | nullrequiredsupplierNumberstring | nullrequiredvatIdstring | nullrequiredtaxNumberstring | nullrequiredbillingEmailstring | nullrequiredbillingAddressPostalAddress | nullrequirednamestringrequiredCompany or namemax. 160 charactersadditionstringAddress supplement, e.g. attn. / departmentmax. 160 charactersstreetstringrequiredStreet and house numbermax. 160 characterszipCodestringrequiredmax. 10 characterscitystringrequiredmax. 80 characterscountrystringrequiredCountry code ISO 3166-1 alpha-2max. 2 characters · Default: "DE"
leitwegIdstring | nullrequiredpaymentTermsDaysinteger | nullrequired-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullrequiredTax treatment of the receiptpriceMode"net" | "gross" | nullrequiredeinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullrequiredeinvoiceRecipientType"business" | "public_authority" | nullrequiredE-invoice recipient profile: business (B2B, no Leitweg-ID needed) or public_authority (B2G, Leitweg-ID required)clientIdstring | nullrequiredClient (collection agency/law firm)archivedAtstring (date-time) | nullrequiredTimestamp (ISO 8601)statsContactStatsrequireddebtCountintegerrequired-9007199254740991–9007199254740991openDebtCountintegerrequired-9007199254740991–9007199254740991totalCentsintegerrequiredTotal principal-100000000000–100000000000openCentsintegerrequiredOutstanding including costs less payments-100000000000–100000000000
createdAtstring (date-time)requiredTimestamp (ISO 8601)updatedAtstring (date-time)requiredTimestamp (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",
"einvoiceRecipientType": "business",
"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}Only the fields you send are changed; null clears an optional field. archived: true archives the contact.
Permission: contacts:write
Path parameters
idstringrequiredResource IDmax. 128 characters
Body (JSON) · ContactUpdate
kind"person" | "company"rolesArray<"customer" | "debtor" | "supplier">firstNamestringmax. 80 charactersmiddleNamestringmax. 80 characterslastNamestringmax. 80 characterscompanystringmax. 160 charactersgenderstringmax. 20 charactersbirthDatestring (date) | nullDate (YYYY-MM-DD)birthPlacestringmax. 80 charactersemailsArray<string (email)>max. 254 charactersphonesArray<string>max. 40 charactersaddressesArray<ContactAddress>typestringrequiredhome, work or othermax. 20 characters · Default: "home"streetstringrequiredmax. 160 characters · Default: ""houseNumberstringrequiredmax. 20 characters · Default: ""zipCodestringrequiredmax. 10 characters · Default: ""citystringrequiredmax. 80 characters · Default: ""countrystringrequiredmax. 60 characters · Default: "Deutschland"
socialsArray<SocialProfile>platformstringrequiredmax. 40 charactersusernamestringrequiredmax. 200 characters
notesstringmax. 10000 characterslanguage"de" | "en"Correspondence language (de or en), default decustomerNumberstring | nullmax. 40 characterssupplierNumberstring | nullmax. 40 charactersvatIdstring | nulltaxNumberstring | nullmax. 40 charactersbillingEmailstring (email) | nullmax. 254 charactersbillingAddressPostalAddress | nullnamestringrequiredCompany or namemax. 160 charactersadditionstringAddress supplement, e.g. attn. / departmentmax. 160 charactersstreetstringrequiredStreet and house numbermax. 160 characterszipCodestringrequiredmax. 10 characterscitystringrequiredmax. 80 characterscountrystringrequiredCountry code ISO 3166-1 alpha-2max. 2 characters · Default: "DE"
leitwegIdstring | nullmax. 46 characterspaymentTermsDaysinteger | null0–365defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullTax treatment of the receiptpriceMode"net" | "gross" | nulleinvoicePreference"pdf" | "zugferd" | "xrechnung" | nulleinvoiceRecipientType"business" | "public_authority" | nullclientIdstring | nullmax. 128 charactersarchivedbooleantrue archives, false restores
Response 200 · Contact
idstringrequiredobject"contact"requiredkind"person" | "company"requiredrolesArray<"customer" | "debtor" | "supplier">requireddisplayNamestringrequiredfirstNamestringrequiredmiddleNamestringrequiredlastNamestringrequiredcompanystringrequiredgenderstringrequiredbirthDatestring (date) | nullrequiredDate (YYYY-MM-DD)birthPlacestringrequiredemailsArray<string>requiredphonesArray<string>requiredaddressesArray<ContactAddress>requiredtypestringrequiredhome, work or othermax. 20 characters · Default: "home"streetstringrequiredmax. 160 characters · Default: ""houseNumberstringrequiredmax. 20 characters · Default: ""zipCodestringrequiredmax. 10 characters · Default: ""citystringrequiredmax. 80 characters · Default: ""countrystringrequiredmax. 60 characters · Default: "Deutschland"
socialsArray<SocialProfile>requiredplatformstringrequiredmax. 40 charactersusernamestringrequiredmax. 200 characters
notesstringrequiredlanguage"de" | "en"requiredCorrespondence language for dunning letters, letters, invoices and quotes (default de)customerNumberstring | nullrequiredsupplierNumberstring | nullrequiredvatIdstring | nullrequiredtaxNumberstring | nullrequiredbillingEmailstring | nullrequiredbillingAddressPostalAddress | nullrequirednamestringrequiredCompany or namemax. 160 charactersadditionstringAddress supplement, e.g. attn. / departmentmax. 160 charactersstreetstringrequiredStreet and house numbermax. 160 characterszipCodestringrequiredmax. 10 characterscitystringrequiredmax. 80 characterscountrystringrequiredCountry code ISO 3166-1 alpha-2max. 2 characters · Default: "DE"
leitwegIdstring | nullrequiredpaymentTermsDaysinteger | nullrequired-9007199254740991–9007199254740991defaultTaxTreatment"regular" | "small_business" | "reverse_charge" | "intra_eu_supply" | "export" | "non_taxable" | nullrequiredTax treatment of the receiptpriceMode"net" | "gross" | nullrequiredeinvoicePreference"pdf" | "zugferd" | "xrechnung" | nullrequiredeinvoiceRecipientType"business" | "public_authority" | nullrequiredE-invoice recipient profile: business (B2B, no Leitweg-ID needed) or public_authority (B2G, Leitweg-ID required)clientIdstring | nullrequiredClient (collection agency/law firm)archivedAtstring (date-time) | nullrequiredTimestamp (ISO 8601)statsContactStatsrequireddebtCountintegerrequired-9007199254740991–9007199254740991openDebtCountintegerrequired-9007199254740991–9007199254740991totalCentsintegerrequiredTotal principal-100000000000–100000000000openCentsintegerrequiredOutstanding including costs less payments-100000000000–100000000000
createdAtstring (date-time)requiredTimestamp (ISO 8601)updatedAtstring (date-time)requiredTimestamp (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",
"einvoiceRecipientType": "business",
"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",
"einvoiceRecipientType": "business",
"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}Deletes the contact and all associated debts (as in the dashboard). To hide it instead, archive it.
Permission: contacts:write
Path parameters
idstringrequiredResource IDmax. 128 characters
Response 204
Success, no content
curl -X DELETE 'https://www.debt-flow.io/api/v1/contacts/ID' \
-H "Authorization: Bearer $DEBTFLOW_API_KEY"/api/v1/contacts/{id}/communicationsLogged communications (phone calls, emails, letters, meetings), newest first.
Permission: contacts:read
Path parameters
idstringrequiredResource IDmax. 128 characters
Query parameters
limitintegerNumber of entries (1–100)1–100 · Default: 25cursorstring`nextCursor` of the previous pagemax. 500 characters
Response 200
object"list"requireddataArray<Communication>requiredidstringrequiredobject"communication"requiredcontactIdstringrequiredtypestringrequirede.g. email, phone, letter, meeting, otherdirection"incoming" | "outgoing" | nullrequiredsubjectstringrequiredcontentstringrequireddatestring (date-time)requiredTimestamp (ISO 8601)createdAtstring (date-time)requiredTimestamp (ISO 8601)
hasMorebooleanrequirednextCursorstring | nullrequired
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}/communicationsCreates an entry in the communication log (nothing is sent). Event communication.created.
Permission: contacts:write
Path parameters
idstringrequiredResource IDmax. 128 characters
Headers
Idempotency-KeystringUnique key (8–255 characters). Repeated requests with the same key return the same response for 24 h.max. 255 characters
Body (JSON) · CommunicationCreate
typestringrequiredmax. 40 characterssubjectstringrequiredmax. 300 characterscontentstringmax. 10000 charactersdirection"incoming" | "outgoing"datestring (date-time)Time of the communication (default: now)
Response 201 · Communication
idstringrequiredobject"communication"requiredcontactIdstringrequiredtypestringrequirede.g. email, phone, letter, meeting, otherdirection"incoming" | "outgoing" | nullrequiredsubjectstringrequiredcontentstringrequireddatestring (date-time)requiredTimestamp (ISO 8601)createdAtstring (date-time)requiredTimestamp (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"
}