# Gets the business messaging entity events asynchronous.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Channels API"
  },
  "paths": {
    "/channels/v1/accounts/{accountId}/apisettings/businessmessaging/events/{entityType}": {
      "get": {
        "tags": [
          "ApiSettings"
        ],
        "summary": "Gets the business messaging entity events asynchronous.",
        "operationId": "ApiSettings_GetBusinessMessagingEntityEventsAsync",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "The account identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityType",
            "in": "path",
            "description": "Type of the entity.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "MT_RECIPIENT_COUNTRY_FILTER",
                "SR_CONFIGURATION",
                "IP_RESTRICTION_CONFIGURATION",
                "RATE_LIMITING_CONFIGURATION"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent"
                  }
                }
              },
              "multipart/form-data": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.cm.com"
    }
  ],
  "components": {
    "schemas": {
      "CM.Platform.Channels.Models.EventLogging.ApiChannelsEventMetaData": {
        "required": [
          "from",
          "to"
        ],
        "type": "object",
        "properties": {
          "from": {
            "type": "object"
          },
          "to": {
            "type": "object"
          }
        }
      },
      "CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent": {
        "required": [
          "id",
          "eventType",
          "createdOnUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "entityId": {
            "type": "string"
          },
          "entityType": {
            "enum": [
              "MT_RECIPIENT_COUNTRY_FILTER",
              "SR_CONFIGURATION",
              "IP_RESTRICTION_CONFIGURATION",
              "RATE_LIMITING_CONFIGURATION"
            ],
            "type": "string"
          },
          "ssoAccountId": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "eventType": {
            "type": "string"
          },
          "eventSubType": {
            "type": "string"
          },
          "eventMetaData": {
            "$ref": "#/components/schemas/CM.Platform.Channels.Models.EventLogging.ApiChannelsEventMetaData"
          },
          "createdOnUtc": {
            "format": "date-time",
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 190,
      "2": 212,
      "3": 166,
      "4": 50,
      "5": 7,
      "6": 123,
      "7": 0,
      "8": 17,
      "9": 137,
      "10": 237,
      "11": 0
    }
  }
}
```