---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/api-reference

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# SNEventSenderProvider - Global

# SNEventSenderProvider - Global {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The SNEventSenderProvider API provides a method to instantiate an IEventSender instance.

Use this API when writing scripts that will run on MID Servers to
instantiate the object to send an event to your ServiceNow instance.

Use the [IEventSender](https://servicenow-prod.fluidtopics.net/Jt2~~~6p2ASmS4RhU6xaiA#IEventSenderAPI "The IEventSender API provides methods to send events from a MID Server to a ServiceNow instance and to query the status of the event queue.") API to send the event to the ServiceNow instance. Use the [Event](https://servicenow-prod.fluidtopics.net/xBCqZ~Ej5RKeBb9Yj1dyeQ#EventAPI "The Event API provides methods that enable the setting and getting of values within an event.") API to add/update fields within an event.

You must activate the Event Management (com.glideapp.itom.snac) plugin before attempting to access this API. The Event Management plugin requires a separate subscription and must be activated. This
plugin includes demo data and activates related plugins if they are not already active.

For additional information on event management, see [Event Management](https://www.servicenow.com/docs/access?context=c_EM&version=australia&pubname=australia-it-operations-management&ft:locale=en-US).

## EventSender - getEventSender() {#ariaid-title2}

Returns an IEventSender object to use to send events from a MID Server
to a ServiceNow instance.
You must call this method before calling any IEventSender API
methods.
{#EventSender-getEventSender__table_ew4_hjm_kkb__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 1. Parameters]

{#EventSender-getEventSender__table_ew4_hjm_kkb} {#EventSender-getEventSender__table_fw4_hjm_kkb__entry__2}

| Type | Description |
|-|-|
| IEventSender | IEventSender object to use to send an event to a ServiceNow instance. |
[Table 2. Returns]

{#EventSender-getEventSender__table_fw4_hjm_kkb}  

    var eventSender = SNEventSenderProvider.getEventSender();


