Register Mobile Device

Version 4.0.24.18 (latest)

Registers a mobile device.

Required fields: [:device_token, :device_type]

Request

POST /mobile/device
Datatype
Description
Request
HTTP Request
body
HTTP Body
Expand HTTP Body definition...
body
Writable device parameters.
Expand MobileToken definition...
id
string
Unique ID.
device_token
string
Specifies the device token
device_type
string
Specifies type of device. Valid values are: "android", "ios".

Response

200: Device registered successfully.

Datatype
Description
(object)
id
string
Unique ID.
device_token
string
Specifies the device token
device_type
string
Specifies type of device. Valid values are: "android", "ios".

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

409: Resource Already Exists

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link