Skip to main content
GET
/
custom_storage_credentials
/
{connection_id}
JavaScript
import Telnyx from 'telnyx';

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

const customStorageCredential = await client.customStorageCredentials.retrieve('connection_id');

console.log(customStorageCredential.connection_id);
{
"data": {
"backend": "gcs",
"configuration": {
"backend": "gcs",
"credentials": "OPAQUE_CREDENTIALS_TOKEN",
"bucket": "example-bucket"
}
},
"connection_id": "1234567890",
"record_type": "custom_storage_credentials"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

connection_id
string
required

Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.

Response

A response containing a credentials resource.

data
Custom Storage Configuration · object
required
connection_id
string
required

Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.

Example:

"1234567890"

record_type
enum<string>
required

Identifies record type.

Available options:
custom_storage_credentials