Guests
Claim a guest's forms
/v1/guests/claimAfter signing up or in, keep what you made as a guest. This moves the guest's forms, with the same ids, and their brand into the workspace. Calling it again after it worked returns the same result. It fails with 403 brand_limit when the workspace can't take another brand and no brandId was given, with 403 form_limit when the plan can't take the forms, and with 401 guest_expired for a token that is expired, forged or claimed by someone else. Only works from the app, not with an API key. See Owner-only and app-only.
Body
JSON, with Content-Type: application/json.
tokenstringrequiredThe guest token that
POST /guestgave.1–4096 chars
workspaceIdstringrequiredThe workspace to move the forms into.
brandIdstringOne of the workspace's brands. The forms go under it, and the guest's own brand is dropped.
Response
workspaceIdstringrequiredThe workspace the forms moved into.
formIdsarray of stringrequiredThe forms that moved. They keep their ids.
Errors answer with a status and the error shape.