Show API Keys
This process returns the details about your api key and all keys that your key has created. You can pass an optional KeyId parameter to return a single one if it is in your security profile. Note that normal StrandVision api keys cannot create new keys, so only your key will be returned. Secret Hmac Required. Cache Time 5 Minutes. Reset if key added.
GET /Api/Read/Keys
curl \
-X GET https://Api.StrandVision.com/v1.0/Api/Read/Keys \
-H "Authorization: X-apikey $ACCESS_TOKEN" \
-H "Authorization: X-apidate $ACCESS_TOKEN" \
-H "Authorization: X-apihmac $ACCESS_TOKEN"
Response examples (200)
[
"Id:1001 CreatedBy:4 Created:\"Wed, 10 May 2023 19:11:31 GMT\" StartDate:\"Wed, 10 May 2023 19:11:31 GMT\" EndDate:\"\" Lastuse:\"Fri, 12 May 2023 15:09:40 GMT\" Usecount:16 Is_Enabled:1 Require_Https:1 Require_Hash:\"sha256\" AllowHours:2 ResponseFormat:\"json\" LogLevel:0 LogRaw:0 Display_Name:\"Mike Test\" Api_Key:\"bxXRb0-Ub7pPA-dzXB1hcsLs-HR5yYjyN19\" MaxHits:\"burst5\\/50,500\\/hr,100k\\/mon\" GroupList:{\"101\":\"Read\\/Write People\",\"103\":\"Read\\/Write User Database\",\"105\":\"Read\\/Write Signage Pages\"}"
]
Response examples (200)
[
{
"Id": 3,
"Api_Key": "MyTestApiKey",
"Name": "Test API Key",
"Created": "Wed, 10 May 2023 19:11:31 GMT",
"StartDate": "Wed, 10 May 2023 19:11:31 GMT",
"EndDate": "string",
"LastUse": "Fri, 12 May 2023 15:09:40 GMT",
"Usecount": 237,
"Require_Https": "Yes",
"Require_Hash": "Sha256",
"AllowHours": 1,
"ResponseFormat": "json",
"LogLevel": 0,
"LogRaw": 0,
"MaxHits": "Burst5/50,500/hr,100k/mon",
"GroupList": [
{
"<groupid>": "Read/Write People"
}
]
}
]