Create Push Token

Prev Next
Post
/api/v1/push.token
Version Description
0.60.0 Added
Header parameters
X-Auth-Token
stringRequired

The authorization token of the user.

Example9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq
X-User-Id
stringRequired

The user ID of the user.

ExampleaobEdbYhXfu5hkeqG
Body parameters
object
type
string Required

The possible values are apn or gcm.

value
string Required

The token value.

appName
string Required

The name of the application to associate the token with

Responses
200
400
401
Collapse all
object
result
object
token
object
appName
string
userId
string
enabled
boolean
createdAt
string
updatedAt
string
_id
string
success
boolean