user
Register the calling device
Labels the device that owns the API key used to make this request, so it appears under the user's connected devices in the web app and can be revoked individually. The mobile app calls it right after pairing with the key obtained from the QR-code flow. Must be called with an API key in the Authorization header (a session gets 400). The key is marked as a mobile-device key, which removes it from the user's programmatic API-key list, so do not call this with a key used for server integrations. Safe to repeat.
post/user/register-mobile-device
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/user/register-mobile-device
- AuthHTTP bearer
Request body
Example request
{
"deviceName": "Alex's iPhone",
"platform": "ios"
}Response
Device registered.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.