Register an APNs device
POST
/api/push/apns/register
Registers an Apple device token for push notifications. Re-registering
an existing token moves it to the calling user.
Authorizations
bearerAuth
API token created via POST /api/tokens or the db:create-token CLI command
Type
HTTP (bearer)
Request Body
application/json
JSON
{
"device_token": "string",
"bundle_id": "com.example.app",
"environment": "production"
}
Responses
Registered
application/json
JSON
{
"data": {
"registered": true
}
}
POST
/api/push/apns/register
