---
title: "Retrieve a stored credential"
method: GET
path: "/custom_storage_credentials/{connection_id}"
tags: ["Call Recordings"]
---

# Retrieve a stored credential

`GET /custom_storage_credentials/{connection_id}`

Returns the information about custom storage credentials.

## Path parameters

- `connection_id` string, required

## Response `200`

A response containing a credentials resource.

- CredentialsResponse
  - `data` CustomStorageConfiguration, required
    - `backend` 'gcs' | 's3' | 'azure', required
    - `configuration` union, required
      - GCSConfigurationData
        - `backend` 'gcs', required — Storage backend type
        - `credentials` string — Opaque credential token used to authenticate and authorize with storage provider.
        - `bucket` string — Name of the bucket to be used to store recording files.
      - S3ConfigurationData
        - `backend` 's3', required — Storage backend type
        - `bucket` string — Name of the bucket to be used to store recording files.
        - `region` string — Region where the bucket is located.
        - `aws_access_key_id` string — AWS credentials access key id.
        - `aws_secret_access_key` string — AWS secret access key.
      - AzureConfigurationData
        - `backend` 'azure', required — Storage backend type
        - `bucket` string — Name of the bucket to be used to store recording files.
        - `account_name` string — Azure Blob Storage account name.
        - `account_key` string — Azure Blob Storage account key.
  - `connection_id` string, required — Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.
  - `record_type` 'custom_storage_credentials', required — Identifies record type.

## Other responses

- `401` — Unauthorized. The request lacks valid authentication credentials.
- `404` — Resource not found. The requested resource or URL could not be found.
- `default` — Unexpected error.

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/versions/e32d46c5945b/schema)
