Token
APNSTokenPayload :
Parameter | Type | Required(*) | Description |
---|---|---|---|
app_id | string | (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. | |
device_token | string | * | |
installation_id | string | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. |
Example
{
"device_token": "eH0fLhuiRj2Np7UQ-opXAm:APA91bGtC-wH4sgW1jWkMKIZf7FYkm_RTQb7Jid7DfSJnCgivGYoRzhLrGxpcIF6yPjmbzAr6CKF-6phZkBasFUUfZmfdgcqfA_ZlZdVk6pSnon3LGzMumCzEJE0zgWoo_RUmVUVJUAt",
"installation_id": "development"
}
Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"app_id": {
"description": "(Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration.",
"pattern": "^[a-zA-Z0-9]+(.[a-zA-Z0-9]+)*$",
"type": "string"
},
"device_token": {
"minLength": 64,
"type": "string"
},
"installation_id": {
"description": "(Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`.",
"enum": [
"development",
"production"
],
"type": "string"
}
},
"required": [
"device_token"
],
"type": "object"
}