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

GET
/api/v1/group/:group_id/deal/:deal_id/file/all
GET
/api/v1/group/:group_id/deal/:deal_id/file/all
1curl https://app.termina.ai/api/v1/group/1/deal/1/file/all \
2 -H "Authorization: Bearer <token>"
Try it
200Retrieved
1{
2 "total_count": 1,
3 "page": 1,
4 "page_size": 1,
5 "data": [
6 {
7 "name": "string",
8 "id": 1,
9 "deal_id": 1,
10 "type": "deck",
11 "created_at": "2024-01-15T09:30:00Z",
12 "updated_at": "2024-01-15T09:30:00Z",
13 "is_archived": true
14 }
15 ]
16}
Was this page helpful?
Previous

File

Next
Built with
Get all files for a specific group and deal.
Files

Authentication

AuthorizationBearer

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

Path Parameters

group_idintegerRequired
deal_idintegerRequired

Query Parameters

sort_bystring or nullOptional
sort_orderstringOptionalformat: "^(asc|desc)$"Defaults to asc
pageintegerOptional>=1Defaults to 1
page_sizeintegerOptional>=1Defaults to 100

Response

Successful Response
total_countinteger
pageinteger
page_sizeinteger
datalist of objects

Errors

Successful Response