> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidjutsu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Complete claim flow

> Complete the email-verification claim flow by submitting the OTP. On success the registration's claimStatus flips to email_verified, post-claim scopes are unlocked, and a freshly-rotated API key is returned. The original pre-claim `vj_anon_*` key is invalidated server-side as a hygiene measure — agents MUST swap it for the new credential.



## OpenAPI

````yaml /openapi/spec.json post /v1/auth/agent/claim/complete
openapi: 3.0.0
info:
  title: VidJutsu API
  version: 2026-05-24-2
servers:
  - url: https://api.vidjutsu.ai
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Assets
  - name: Editor Projects
  - name: Scrape
  - name: Billing
  - name: API Keys
  - name: Usage
  - name: Info
  - name: Pricing
  - name: Subscriptions
  - name: Auth
  - name: Accounts
  - name: Posts
  - name: References
  - name: Upload
  - name: Watch
  - name: Extract
  - name: Transcribe
  - name: Check
  - name: Compliance
  - name: Overlay
  - name: Disclaimer
  - name: Agent
paths:
  /v1/auth/agent/claim/complete:
    post:
      tags:
        - Agent
      summary: Complete claim flow
      description: >-
        Complete the email-verification claim flow by submitting the OTP. On
        success the registration's claimStatus flips to email_verified,
        post-claim scopes are unlocked, and a freshly-rotated API key is
        returned. The original pre-claim `vj_anon_*` key is invalidated
        server-side as a hygiene measure — agents MUST swap it for the new
        credential.
      operationId: agentClaimComplete
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentClaimCompleteRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentClaimCompleteResponse'
      security:
        - {}
components:
  schemas:
    AgentClaimCompleteRequest:
      type: object
      required:
        - claim_token
        - code
      properties:
        claim_token:
          type: string
        code:
          type: string
          description: 6-digit verification code emailed to the principal.
    AgentClaimCompleteResponse:
      type: object
      required:
        - credential
        - credential_type
        - scopes
      properties:
        credential:
          type: string
          description: >-
            Freshly-rotated API key. For anonymous registrations the original
            `vj_anon_*` key returned at signup is now invalid; agents MUST
            replace it with this value.
        credential_type:
          type: string
          enum:
            - api_key
        credential_expires:
          type: integer
          format: int64
        scopes:
          type: array
          items:
            type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````