Send push notification asynchronously
Asynchronous Push Notification
Queues a push notification for background processing with retry logic and priority handling.
Features:
- Background job processing
- Automatic retries with exponential backoff
- Priority-based processing
- Scheduled delivery
- Job status tracking
- Memory management
Queue Options:
priority: Job priority (0-10, higher = more important)maxRetries: Maximum retry attempts (0-10)scheduledFor: Schedule delivery for futureexpiresAt: Job expiration timeuserId: User identifier for trackingcorrelationId: Request correlation IDmetadata: Additional job metadata
Response: Returns immediately with job ID and status “queued”.
Job Status Tracking:
Use the job ID to check status via GET /push/async/status/{jobId}
Example Request:
Authentication
AuthorizationBearer
JWT token for authentication. Use ‘test-jwt-token’ for development.
Request
This endpoint expects an object.
tokens
title
body
data
imageUrl
clickAction
badge
sound
priority
timeToLive
queueOptions
Response
This endpoint returns an object.
success
data
error

