---
title: "POST /v1/users/me/devices/"
method: POST
path: "/v1/users/me/devices/"
tags: ["Users & Tokens"]
---

# POST /v1/users/me/devices/

`POST /v1/users/me/devices/`

## Request body

- GCMDevice
  - `id` integer
  - `name` string, nullable
  - `registration_id` string, required
  - `device_id` integer, nullable — ANDROID_ID / TelephonyManager.getDeviceId() (e.g: 0x01)
  - `active` boolean — Inactive devices will not be sent notifications
  - `date_created` string, date-time, nullable
  - `cloud_message_type` 'FCM' | 'GCM' — You should choose FCM, GCM is deprecated
  - `application_id` string, nullable — Opaque application identity, should be filled in for multiple key/certificate access

## Response `201`

Created

- GCMDevice
  - `id` integer
  - `name` string, nullable
  - `registration_id` string, required
  - `device_id` integer, nullable — ANDROID_ID / TelephonyManager.getDeviceId() (e.g: 0x01)
  - `active` boolean — Inactive devices will not be sent notifications
  - `date_created` string, date-time, nullable
  - `cloud_message_type` 'FCM' | 'GCM' — You should choose FCM, GCM is deprecated
  - `application_id` string, nullable — Opaque application identity, should be filled in for multiple key/certificate access

---

[API](https://skmtc.dev/density/apis/your-project-api.md) · [All operations](https://skmtc.dev/density/apis/your-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/density/your-project-api/revisions/eab10fe035e6/schema)
