Registers for push notifications on a given device.
Input
Encoding
application/jsonpushToken
string
Required
The expo push token
Output
Encoding
application/jsonsuccess
boolean
Required
Whether the token was successfully registered.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"pushToken"
],
"properties": {
"pushToken": {
"type": "string",
"description": "The expo push token"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the token was successfully registered."
}
}
},
"encoding": "application/json"
},
"description": "Registers for push notifications on a given device."
}