Mobile
Register or update a mobile push device
Records the Expo push token for this device against the signed-in user. Registering the same device twice updates the existing row instead of adding another, so it's safe to send a token refresh on every launch. This one needs a user session, and an API key is rejected.
Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.
post/api/mobile/devices
Request
- Base URL: https://api.setluca.com
- URL: https://api.setluca.com/api/mobile/devices
- Auth: API key in cookie luca.session_token
Headers
Luca-API-Version'1'
The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.
Request body
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.