• Introduction
    • Getting Started
    • Authentication
  • Guide
    • Common Code Patterns
    • Metrics
  • Data
  • Deal Management
  • User
    • POSTClient Access Token
  • Chat
LogoLogo
Deal ManagementFile

Create File Entry

POST
/api/v1/group/:group_id/deal/:deal_id/file/entry
POST
/api/v1/group/:group_id/deal/:deal_id/file/entry
1curl -X POST https://app.termina.ai/api/v1/group/1/deal/1/file/entry \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "string"
6}'
Try it
201Created
1{
2 "name": "string",
3 "id": 1,
4 "deal_id": 1,
5 "signed_url": {
6 "method": "string",
7 "url": "string",
8 "fields": {},
9 "headers": {}
10 },
11 "type": "deck",
12 "created_at": "2024-01-15T09:30:00Z",
13 "updated_at": "2024-01-15T09:30:00Z",
14 "is_archived": true
15}
Create a new file entry for a specific group and deal. Requires the contents to be uploaded separately via signed-url.
Was this page helpful?
Previous

Files

Next
Built with
Files

Path parameters

group_idintegerRequired
deal_idintegerRequired

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
The human-readable name of the file
typeenum or nullOptional
The type of the file

Response

Successful Response
Successful Response

Bearer authentication of the form Bearer <token>, where token is your auth token.

namestring
The human-readable name of the file
idinteger
deal_idinteger or null
signed_urlobject
typeenum or null
The type of the file
created_atstring or nullformat: "date-time"
updated_atstring or nullformat: "date-time"
is_archivedboolean or null

Errors

The human-readable name of the file

The human-readable name of the file

Create a new file entry for a specific group and deal. Requires the contents to be uploaded separately via signed-url.