Skip to main content
POST
/
v1
/
auth
/
agent
/
claim
/
complete
Complete claim flow
curl --request POST \
  --url https://api.vidjutsu.ai/v1/auth/agent/claim/complete \
  --header 'Content-Type: application/json' \
  --data '
{
  "claim_token": "<string>",
  "code": "<string>"
}
'
{
  "credential": "<string>",
  "scopes": [
    "<string>"
  ],
  "credential_expires": 123
}

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.

Body

application/json
claim_token
string
required
code
string
required

6-digit verification code emailed to the principal.

Response

200 - application/json

The request has succeeded.

credential
string
required

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
enum<string>
required
Available options:
api_key
scopes
string[]
required
credential_expires
integer<int64>