QueryList cameras accessible to the authenticated user

List cameras accessible to the authenticated user

Returns all cameras the authenticated B2C user can access via their camera role memberships. Permissions from multiple roles for the same camera are merged into a single entry.

curl -X GET "https://api.spkey.co/cameras/my" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "cameras": [
    {
      "cameraId": "example_string",
      "threeDeyeCameraId": "example_string",
      "name": "John Doe",
      "type": "example_string",
      "status": "example_string",
      "httpUrl": "example_string",
      "rtspUrl": "example_string",
      "orgId": "example_string",
      "permissions": [
        "example_string"
      ]
    }
  ],
  "total": 3.14
}
GET
/cameras/my
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Responses

camerasarray
Required

Cameras accessible to the authenticated user

totalnumber
Required

Total number of cameras returned