send_notification
Send a notification immediately and return its delivery logs.
A push notification writes one log per active device registration of each recipient,
whose recipient is the registration id; dead tokens are logged as skipped.
Input schema
Section titled “Input schema”{ "properties": { "application_id": { "title": "Application Id", "type": "string" }, "context": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "title": "Context" }, "link_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Link Path" }, "link_query": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Link Query" }, "notification_id": { "title": "Notification Id", "type": "string" } }, "required": [ "application_id", "notification_id" ], "title": "send_notificationArguments", "type": "object"}Output schema
Section titled “Output schema”{ "properties": { "logs": { "items": { "properties": { "channel": { "title": "Channel", "type": "string" }, "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "notificationId": { "format": "uuid", "title": "Notificationid", "type": "string" }, "providerResponse": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Providerresponse" }, "recipient": { "title": "Recipient", "type": "string" }, "status": { "title": "Status", "type": "string" }, "subject": { "title": "Subject", "type": "string" } }, "required": [ "id", "notificationId", "channel", "recipient", "subject", "status" ], "title": "PublicNotificationLogResponse", "type": "object" }, "title": "Logs", "type": "array" } }, "required": [ "logs" ], "title": "PublicSendNotificationResponse", "type": "object"}