Skip to main content
GET
/
storage
/
migration_sources
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const migrationSources = await client.storage.migrationSources.list();

console.log(migrationSources.data);
{
  "data": [
    {
      "id": "<string>",
      "provider": "aws",
      "source_region": "<string>",
      "provider_auth": {
        "access_key": "<string>",
        "secret_access_key": "<string>"
      },
      "bucket_name": "<string>"
    }
  ],
  "meta": {
    "page_number": [
      2
    ],
    "page_size": [
      25
    ],
    "total_pages": [
      3
    ],
    "total_results": [
      55
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

List Migration Sources Response

data
object[]
meta
object