Call Recordings

Create a custom storage credential

Changed on

Creates a custom storage credentials configuration.

post/custom_storage_credentials/{connection_id}

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/custom_storage_credentials/{connection_id}
  • Auth: HTTP bearer

Path parameters

connection_idstring required

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

Request body

backend'gcs' | 's3' | 's3-generic' | 'azure' required

Example request

{
  "backend": "gcs",
  "configuration": {
    "credentials": "OPAQUE_CREDENTIALS_TOKEN",
    "bucket": "example-bucket"
  }
}

Response

A response containing a credentials resource.

connection_idstring required

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

record_type'custom_storage_credentials' required

Identifies record type.

Example response

{
  "data": {
    "backend": "gcs",
    "configuration": {
      "credentials": "OPAQUE_CREDENTIALS_TOKEN",
      "bucket": "example-bucket"
    }
  },
  "connection_id": "1234567890"
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status