Skip to Content

TwentyThree™ API

API Method: /api/protection/verify

Verify access to a video or stream which is protected with one of the built-in protection method.


object_id (required)Which object should be verified?
protection_method (required)Which method is the object currently protected with?
verification_dataOptionally, any extra string or data that is need to authenticate access. For example, when the protection method is `password`, this parameter should include the correct password for the object.

Permission level

The minimum required permission level is:


Example XML Response

<response status="ok" permission_level="write" message="You have access to the resource" cached="0">

Example JSON Response

  "status": "ok", 
  "message":"You have access to the resource",
      "object_id": "1234567", 
      "object_type": "live", 
      "protected_token": "abcfe123456abce"
  "p": "1",
  "size": "1",
  "site": {...},
  "endpoint": "/api/protection/verify"