Skip to main content

Documents

Route: documents Description: Projects Documents

Endpoints

Download Document

Gets a temporary signed url for downloading a document

Endpoint

https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/getTemporarySignedUrl

Parameters (Array)

IndexNameDescriptionType
0docThe document recordDocumentRecord
1expiresThe expiration dateDate

Returns

  • results - String

Example

curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
{
"tags": []
},
"2024-11-10T10:42:52.922Z"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/getTemporarySignedUrl"

Load Document By Logical Path

Load the record by logical path

Endpoint

https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/loadByLogicalPath

Parameters (Array)

IndexNameDescriptionType
0logicalPathThe logical path of the documentString

Returns

  • results - DocumentRecord

Example

curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
"logicalPath"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/loadByLogicalPath"