Updated on 2026-04-16 GMT+08:00

Authentication

Currently, KooDrive supports app-based authentication.

Constraints

The authorization validity period is 15 minutes. App authentication is not supported for carrier calling APIs.

App-based Authentication

You can use the app-based authentication generation rule provided by KooDrive to obtain the authentication and add the authentication to the request header.

Table 1 Parameters

Parameter

Description

X-User-Id

Internal user ID.

X-Date

Current UTC time.

Authorization

Authentication generation rule for obtaining authentication.

Example:

Authorization: HMAC-SHA256 AppId=a378331eca141163119eb602adb67b7802cc79cd33ba44c7d2fe61d1586c96a1,SignedHeaders=host;x-date;x-user-id,Signature=bd355f202be40f95bf9510fd7bd48ad711a7d144c01df07d515ee0fbf3a47416
X-User-Id: 1505084218764547200
X-Date: 20240909T033325Z