Token
The MediaVault API allows you to generate an access token by providing a secret ID and secret key. This token is essential for authenticating and securely accessing the API’s resources in your application.
POST /Token
Generate access token based on secret-id and secret-key
No parameters are required.
Request
curl -X 'POST' \
'https://api.mediavaultplus.com/Token' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"secretID": "string",
"secretKey": "string"
}'
Response
{
"access_token": "abcdefghijklmnop123456790",
"type": "Bearer",
"expires": "2024-10-09T10:06:24.4195328-05:00"
}