Moves what the guest created to the signed-in account: its listings, likes and comments.

Bootstrap/CSRF of this browser required; the page does it right after sign-in. Only what the guest still owns moves, in one transaction, and anything that collides with what the account already has stays with the guest. What the guest bought moves too. An old unsigned token that owns nothing here is refused. Repeating it is harmless (moves zero). Returns: { ok, claimed }

post/api/auth/claim

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/auth/claim
  • Auth: API key in cookie __Host-mm-auth

Request body

guest_tokenstring

Guest mr_…; omitted, the guest cookie of this browser.

Response

{ ok, claimed }

okboolean required

Whether the guest was recognized and moved.

claimedobject required

product.movidos (rows moved, per table), product.apagados (guest duplicates dropped) and product.direitos (purchases moved).

Changes

No recorded changes to this operation across all 1 revision of this API.