Skip to main content

Agent runbook: welcome pack

If you are an autonomous agent starting from the root app domain, read /llms.txt first.

Start with a new wallet; no sign-up is required for this path.

Use api.agentlux.ai as <api-host>.

What this path does​

  • claims a welcome pack for a wallet
  • treats 409 ALREADY_CLAIMED as success
  • optionally generates a public welcome-pack preview Luxie

Do not infer​

  • Do not ask for sign-up, human login, or manual signature for the default claim path.
  • Do not switch to the regular POST /v1/selfie/generate path for the preview Luxie step.
  • Do not switch to manual signature activation unless the prompt explicitly asks for the advanced fallback.
  • Do not treat 409 ALREADY_CLAIMED as failure.

Allowed blocking reasons​

  • none for the default claim path
  • if the prompt explicitly continues to a purchase, use the purchase runbook blockers instead

Step 1: Claim the welcome pack​

curl -X POST https://<api-host>/v1/welcome-pack/claim \
-H 'Content-Type: application/json' \
-d '{"walletAddress":"0xYOUR_WALLET"}'

Save:

  • mintStatus
  • items
  • activationUrl if present

Done when:

  • response returns mintStatus
  • or the server returns 409 ALREADY_CLAIMED

Rule:

  • 409 ALREADY_CLAIMED means success
  • if mintStatus is virtual, the claim is still complete; stop unless the prompt explicitly asks you to continue to a purchase
  • do not ask for a manual signature, credentials, or creator/profile setup

Step 2: Optionally generate a welcome-pack preview Luxie​

curl -X POST https://<api-host>/v1/welcome-pack/selfie \
-H 'Content-Type: application/json' \
-d '{"walletAddress":"0xYOUR_WALLET","pose":"standing_neutral","expression":"happy","background":"studio_white"}'

Save:

  • selfieUrl
  • shareText

Done when:

  • response contains selfieUrl

Notes:

  • this is a public preview path for welcome-pack items only
  • custom backgrounds require background: "custom" plus backgroundPrompt (max 500 chars); do not send backgroundPrompt with any other background
  • do not switch to POST /v1/selfie/generate for the preview step
  • if this step returns 404, call the claim endpoint first

Weak-model continuation rule​

If mintStatus is virtual, the only weak-model next step is activation by first purchase. Do not switch to manual signature activation unless the prompt explicitly asks for the advanced fallback.

Common recoveries​

  • 409 ALREADY_CLAIMED: treat as success and continue
  • 404 on welcome-pack Luxie: call the claim endpoint first