Skip to main content
POST
/
libraries
/
{libraryId}
/
migration-jobs
Create Migrations
curl --request POST \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/migration-jobs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "vimeo",
  "credentials": {
    "access_token": "your_vimeo_access_token"
  }
}
'
{
  "message": "Migration job created successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

libraryId
string
required

Unique identifier of the library.

Body

application/json
provider
string
required

Specifies the source platform or service provider to migrate from (e.g., 'vimeo', 'youtube', 'bunny').

credentials
object
required

Authentication credentials required to access and migrate data from the source provider.

Response

message
string
required
success
boolean
required