Skip to main content
View as Markdown

Verify Your Credentials - Getting Started

Verify Your Credentials​

Generate a Kaltura Session (KS) to confirm your credentials work:

curl -X POST "$KALTURA_SERVICE_URL/service/session/action/start" \
-d "format=1" \
-d "partnerId=$KALTURA_PARTNER_ID" \
-d "secret=$KALTURA_ADMIN_SECRET" \
-d "type=2" \
-d "userId=$KALTURA_USER_ID"

A successful response returns a KS string (base64-encoded token). Save it:

export KALTURA_KS="the_returned_ks_string"

Verify the KS works by listing entries:

curl -X POST "$KALTURA_SERVICE_URL/service/baseEntry/action/list" \
-d "ks=$KALTURA_KS" \
-d "format=1" \
-d "pager[pageSize]=1"

A successful response contains "objectType": "KalturaBaseEntryListResponse" with a totalCount field and an objects array.