GET
/
files
/
{fileId}
Get File
curl --request GET \
  --url https://api.callhq.ai/api/files/{fileId} \
  --header 'x-api-key: <api-key>'
{
  "file": {
    "id": "<string>",
    "externalId": "<string>",
    "name": "<string>",
    "integrationId": "<string>",
    "url": "<string>",
    "bytes": 123,
    "object": "<string>",
    "purpose": "<string>",
    "mimetype": "<string>",
    "bucket": "<string>",
    "path": "<string>",
    "status": "<string>",
    "parsedTextUrl": "<string>",
    "parsedTextBytes": "<string>",
    "organizationId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "organization": {
      "id": "<string>",
      "name": "<string>"
    },
    "integration": {}
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

fileId
string
required

Unique identifier of the file.

Response

200
application/json

File retrieved successfully.

The response is of type object.