Skip to main content
GET
/
accounting
/
files
/
documentExtensions
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/files/documentExtensions \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": {
    "allowed_file_extensions": "['pdf', 'jpg']"
  }
}

Field support per integration

If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is accurately populated with the appropriate company ID. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Supported filters: noneSupport pagination: falseSupport rawData: false
Supported Response Parameters:
allowed_file_extensions
string[]
If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId is accurately populated with the appropriate company ID. You can obtain this value by using the GET Companies endpoint available under the Authentication section.
Supported filters: noneSupport pagination: falseSupport rawData: false
Supported Response Parameters:
allowed_file_extensions
string[]

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Query Parameters

companyId
string

Response

200 - application/json
meta
object
data
object
I