Link a mobile/browser device to the current user, identified by a client-generated key
Request
Body Params application/json
{
"name": "string",
"model": "string",
"app_version": "string",
"os": null,
"os_version": "string",
"type": null,
"version": "string",
"fcm_registration_token": "string"
}
Request Code Samples
curl --location 'https://api.vplan.com/v1/device/' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"model": "string",
"app_version": "string",
"os": null,
"os_version": "string",
"type": null,
"version": "string",
"fcm_registration_token": "string"
}'
Responses
application/json
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"key": "string",
"name": "string",
"model": "string",
"app_version": "string",
"os": null,
"os_version": "string",
"type": null,
"version": "string",
"fcm_registration_token": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
Modified at 2026-11-25 09:44:32