# Get an Event Subscription **GET /groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}** Return information about an event subscription. ## Servers - The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.) ## Authentication methods - Token auth ## Parameters ### Path parameters - **groupId** (string) An Atlas [Project/Group ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/). - **appId** (string) The ObjectID of your application. [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this value. - **eventSubscriptionId** (string) The unique `_id` value of an event subscription. ## Responses ### 200 Success. #### Body: application/json (object) - **_id** (string) The trigger's unique ID. - **name** (string) The trigger's name. - **type** (string) The trigger type. For database triggers, this value is always `"DATABASE"`. - **disabled** (boolean) If `true`, the trigger is disabled and does not listen for events or execute. - **config** (object) An object that defines configuration values for the trigger. - **function_id** (string) The ID of the function that the trigger calls when it fires. This value is the same as `event_processors.FUNCTION.function_id`. You can either define the value here or in `event_processors.FUNCTION.function_id`. The App Services backend duplicates the value to the configuration location where you did not define it. For example, if you define `function_id`, the backend duplicates it to `event_processors.FUNCTION.function_id`. If you define `function_id`, `event_processors` is not required. You must provide either `function_id` or `event_processors` when updating a trigger. - **function_name** (string) The name of the function that the trigger calls when it fires, i.e. the function described by `function_id`. This value is the same as `event_processors.FUNCTION.function_name`. You can either define the value here or in `event_processors.FUNCTION.function_name`. The App Services backend duplicates the value to the configuration location where you did not define it. For example, if you define `function_name`, the backend duplicates it to `event_processors.FUNCTION.function_name`. If you define `function_name`, `event_processors` is not required. You must provide either `function_name` or `event_processors` when updating a trigger. - **event_processors** (object) An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor. For an example configuration object, see [Send Trigger Events to AWS EventBridge](https://www.mongodb.com/zh-cn/docs/atlas/app-services/triggers/aws-eventbridge#std-label-event_processor_example). - **error_handler** (object) An object that defines custom error handling for an AWS EventBridge trigger. Valid only for `"DATABASE"` type triggers with `"AWS_EVENTBRIDGE"` event processors. [Powered by Bump.sh](https://bump.sh)