Codaclean must enable uploading for the accounting firm, and your API key needs the
files:write scope. Otherwise, the call returns 403.Contact Codaclean to enable it.1
Get upload credentials
Call
POST /coda-files/upload for CODA files, or POST /codb-files/upload for CODB files.The response contains temporary AWS credentials (accessKeyId, secretAccessKey, sessionToken), a bucketName, a prefix and an expirationUtc date.2
Upload the files
Configure an AWS S3 client with these credentials, then upload each file to
bucketName with a key that starts with prefix/.The credentials only allow uploading (PutObject) under that prefix.3
Renew the credentials
The credentials stop working at
expirationUtc. Call the endpoint again to get new ones.
