GET
/
v4
/
beta
/
files
/
{file_id}
/
content
import SGPClient from 'sgp';

const client = new SGPClient({
  apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});

const response = await client.beta.files.content('file_id');

console.log(response);

const content = await response.blob();
console.log(content);
"<any>"

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string

Path Parameters

file_id
string
required

Response

200
application/json

Successful Response

The response is of type any.