Templates

Get presigned URL to replace template file

post/api/v1/templates/{id}/replace-file

Request

  • Base URL: https://api.korala.ai
  • URL: https://api.korala.ai/api/v1/templates/{id}/replace-file
  • Auth: one of:
    • API key in header X-API-Key
    • bearer (a scheme the document does not define)

Path parameters

idstring required

Request body

filenamestring required
contentTypestring required

MIME type of the file. Supported: application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document

Example request

{
  "filename": "updated-contract.pdf",
  "contentType": "application/pdf"
}

Response

uploadUrlstring required
keystring required

Changes

No recorded changes to this operation across all 1 revision of this API.