Token

APNSTokenPayload :

ParameterTypeRequired(*)Description
app_idstring(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_tokenstring*
installation_idstring(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"
}