Files
Use Codat's Files API to upload your SMB customers' files.
SDK Installation
NPM
npm add @codat/files
Yarn
yarn add @codat/files
Example Usage
import { CodatFiles } from "@codat/files";
(async () => {
const sdk = new CodatFiles({
security: {
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
},
});
const res = await sdk.files.downloadFiles({
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
date: "2022-10-23T00:00:00.000Z",
});
if (res.statusCode == 200) {
}
})();
Available Resources and Operations
Library generated by Speakeasy