--- title: "userSendNotificationEx (Command)" slug: "oas-fullsdk-soapref-usersendnotificationex-command-3-28" updated: 2025-07-04T10:05:19Z published: 2025-07-07T15:34:07Z canonical: "docs.onespan.com/oas-fullsdk-soapref-usersendnotificationex-command-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # userSendNotificationEx (Command) The userSendNotificationEx command sends a notification message created in the framework, i.e. outside of OneSpan Authentication Server, to a specified user via the Message Delivery Component (MDC). The notification can be scheduled to be sent at a later time. ## Parameters | Parameter name | Data type | Description | | --- | --- | --- | | sessionID | String | Required. The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see [logon (Command)](/sec/docs/oas-fullsdk-soapref-logon-command-3-28)). | | user | UserInput | Required. Specifies the user to whom the message is sent (see [UserInput (Data type)](/sec/docs/oas-fullsdk-soapref-usersendnotificationex-command-3-28#userinput-data-type)). | | schedule | ScheduleInput | Optional. Defines the date and time the message will be sent. | | profile | String | Optional. Defines which MDC profile is used to send the message. | | email | EmailNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. | | sms | SmsNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. | | voice | VoiceNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. | | push | PushNotification | Required. (if this type of notification was selected) The type of notification used for sending the message. | | Parameter name | Data type | Description | | --- | --- | --- | | status | CommandStatusResponse | Required. The error stack, if applicable, which indicates that the command has not completed successfully. This also includes the result and status codes returned by the command. | | result | UserSendNotificationExResult | Required. The output field for this command. | ### UserInput (Data type) | Element name | Data type | Description | | --- | --- | --- | | userID | String | The user ID. | | domain | String | Optional. The user domain. | ### ScheduleInput (Data type) | Element name | Data type | Description | | --- | --- | --- | | time | DateTime | The date and time the message will be sent. Seconds are ignored by the scheduled task. | ### EmailNotification (Data type) | Element name | Data type | Description | | --- | --- | --- | | destinationEmail | String | The returned email address of the recipient. | | subject | String | The subject of the message sent to the recipient. | | message | String | The message text. | ### SmsNotification (Data type) | Element name | Data type | Description | | --- | --- | --- | | destinationPhoneNumber | String | The returned mobile phone number of the recipient. | | message | String | The message text. | ### VoiceNotification (Data type) | Element name | Data type | Description | | --- | --- | --- | | destinationPhoneNumber | String | The returned (mobile) phone number of the recipient. | | message | String | The message text. | ### PushNotification (Data type) | Element name | Data type | Description | | --- | --- | --- | | destinationSerialNumber | String | The returned serial number of the user's authenticator. | | title | String | The title of the sent message. | | subject | String | The subject of the message sent to the recipient. | | message | String | The message text. | | mobileAppName | String | The name of the mobile application. | ### UserSendNotificationExResult (Data type) | Element name | Data type | Description | | --- | --- | --- | | user | UserOutput | The returned user information (see [UserOutput (Data type)](/sec/docs/oas-fullsdk-soapref-usersendnotificationex-command-3-28#useroutput-data-type)). | | taskID | String | The returned task ID in case of scheduled notifications. | | destination | String | The returned (mobile) phone number or email address of the recipient. | ### UserOutput (Data type) | Element name | Data type | Description | | --- | --- | --- | | userID | String | The resolved user ID. | | domain | String | The user domain. | | orgUnit | String | Optional. The organizational unit of the user. | ## Example > ```markup > > > > > bbhDR7=mI90R+Q1Kr_??~9IesbmtnVyQ > > Jane Doe > Master > > > 12345678 > Message title > Lorem ipsum > Lorem ipsum dolor sit amet, consectetur adipiscing elit. > > > > > ``` ## Requirements Required administrative privileges: - Send Notification