Message

Create mobile user device

This endpoint is used to create mobile user device

post/messages/topics/mobiles/devices

Request body

device_typestring
tokenstring

Example request

{
  "device_type": "Iphone 10",
  "token": "demo token"
}

Response

Create mobile user device successfuly

created_atstring
device_typestring
is_activeboolean
{"stackTrail":"components:schemas:MobileUserDevices:properties:mobile_user_id","oasType":"schema","type":"unknown","example":2}
tokenstring
updated_atstring

Example response

{
  "created_at": "2019-04-25T09:15:20.557Z",
  "device_type": "iphone 10",
  "mobile_user_id": 2,
  "token": "Demo_token",
  "updated_at": "2019-04-25T09:15:20.557Z"
}