renza

API reference / Imports

Claim anonymous imports

POST/v1/imports/claim

Reattributes the anonymous imports tracked against `anon_token` into the active org as real decks (the CLI's `~/.renza` token after `renza login`). Returns the created deck ids.

Requires an API key (bearer), scoped to the active org. Supports idempotency keys.

Runs automatically during `renza login` — anonymous uploads are claimed into the org.

Body parameters

  • anon_tokenstringrequired

    The client-held anon token whose anonymous imports to claim.

Returns

  • 200The decks created from the claimed tries.

Failures use the standard error envelope with a closed set of codes.