palbaseDocs

Palbase Auth API · API

GET/auth/devices

List the user's devices

Lists every device enrolled under the signed-in user, newest first. Devices enrolled before sign-in (anchored on an installation only) are not listed.

Called by a signed-in user of your app, with their token and the publishable key.

curl
curl -X GET "https://<your-ref>.palbase.studio/auth/devices" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

200The user's devices

401Missing, invalid, or expired credentials

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListDevices of auth's contract.