Endpoints위젯
연령 게이트 URL 생성
iframe에 표시할 호스팅 연령 게이트 위젯의 URL을 반환합니다. `/age-gate/check`로 직접 연령 게이트를 구현하는 대신 k-ID가 게이트를 렌더링하도록 하려는 경우에 사용하십시오. 위젯이 플레이어의 연령을 수집하고 확인까지 수행합니다.
Authorization
api-key AuthorizationBearer <token>
In: header
Request Body
application/json
연령 게이트 URL 생성 요청
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/widget/generate-age-gate-url" \ -H "Content-Type: application/json" \ -d '{ "jurisdiction": "US-CA" }'{ "url": "https://family.k-id.com/widget", "shortUrl": "https://family.k-id.com/s/12345678-1234-1234-1234-123456789012?pid=42&s=qr"}