Call Recordings

Create a custom storage credential

Creates a custom storage credentials configuration.

post/custom_storage_credentials/{connection_id}

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": {
    "bucket": "example-bucket",
    "credentials": "OPAQUE_CREDENTIALS_TOKEN"
  }
}

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

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

Changes

Changed in 3 of the 61 revisions of this API.1118

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 401

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 404

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status default

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 401

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 404

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status default

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 3322fee911fa518See the full diff
    • the request property configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/aws_access_key_id became required

      request-property-became-required

    • the request property configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/aws_secret_access_key became required

      request-property-became-required

    • the request property configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/bucket became required

      request-property-became-required

    • the request property configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/region became required

      request-property-became-required

    • added S3GenericConfigurationData to the data/configuration response property oneOf list for the response status 200

      response-property-one-of-added

    • added the new s3-generic enum value to the data/backend response property for the response status 200

      response-property-enum-value-added

    • added s3-generic discriminator mapping keys to the configuration request property

      request-property-discriminator-mapping-added

    • added the new s3-generic enum value to the request property backend

      request-property-enum-value-added

    • added S3GenericConfigurationData to the configuration request property oneOf list

      request-property-one-of-added

    • the response property data/configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/aws_access_key_id became required for the status 200

      response-property-became-required

    • the response property data/configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/aws_secret_access_key became required for the status 200

      response-property-became-required

    • the response property data/configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/bucket became required for the status 200

      response-property-became-required

    • the response property data/configuration/oneOf[subschema #2: AWS S3 Storage Configuration Data]/region became required for the status 200

      response-property-became-required

    • added s3-generic discriminator mapping keys to the data/configuration response property for the response status 200

      response-property-discriminator-mapping-added