Palbase Stores · API
/stores/install/deviceRegister a phone (its Profile Service answer)
Takes a phone's answer to the registration profile: its UDID, read only once the phone's signature, Apple's certificate of the phone and the challenge check out. The phone becomes the invitation's person's — a person registers two new phones at most in 30 days, through whatever links they hold; a phone already theirs registers again freely — and the package is signed for it. The same answer sent again changes nothing. The phone is sent back to the install page (301), or — a=p — answered with a signed profile iOS installs: a shortcut to that page.
Called by .
Query
tstring · requiredThe invitation's token, from its link: in the query, which no request log keeps.a"p" · optionalp asks that the registering phone be answered with a signed profile (a shortcut to the install page) instead of a redirect to it.curl -X POST "https://<your-ref>.palbase.studio/stores/install/device" \
-H "content-type: application/pkcs7-signature" \
--data-binary @fileResponses
200Registered, answered with a profile (a=p): a shortcut to the install page
301Registered: back to the install page, which iOS opens in Safari
400Not an iPhone's answer to this registration
404The link is wrong, expired or revoked
413The answer is too large
429Over the project's request limit or quota
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation RegisterInstallDevice of stores's contract.