# Puts the sr webhook configuration asynchronous.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Channels API"
  },
  "paths": {
    "/channels/v1/accounts/{accountId}/apisettings/businessmessaging/sr": {
      "put": {
        "tags": [
          "ApiSettings"
        ],
        "summary": "Puts the sr webhook configuration asynchronous.",
        "operationId": "ApiSettings_PutSRWebHookConfigurationAsync",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "The account identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest2"
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationResponse"
                }
              },
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.cm.com"
    }
  ],
  "components": {
    "requestBodies": {
      "CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest2": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest"
            }
          },
          "text/xml": {
            "schema": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest"
            }
          },
          "multipart/form-data": {
            "schema": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest"
            }
          },
          "application/x-www-form-urlencoded": {
            "schema": {
              "$ref": "#/components/schemas/CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest"
            }
          }
        },
        "description": "The sr webhook.",
        "required": true
      }
    },
    "schemas": {
      "CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationResponse": {
        "required": [
          "method",
          "encodingReplaceValue",
          "url",
          "data"
        ],
        "type": "object",
        "properties": {
          "method": {
            "type": "string"
          },
          "encodingReplaceValue": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "data": {
            "type": "string"
          },
          "httpHeaders": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "amountOfRetries": {
            "format": "int32",
            "type": "integer"
          },
          "retryIntervalInSeconds": {
            "format": "int32",
            "type": "integer"
          },
          "outOfRetriesProcedure": {
            "type": "string"
          },
          "oauthSettingId": {
            "format": "int32",
            "type": "integer"
          }
        }
      },
      "CM.Platform.Channels.Models.ApiSettings.ApiStatusReportsConfigurationRequest": {
        "required": [
          "method",
          "encodingReplaceValue",
          "url",
          "data"
        ],
        "type": "object",
        "properties": {
          "method": {
            "type": "string"
          },
          "encodingReplaceValue": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "data": {
            "type": "string"
          },
          "httpHeaders": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "amountOfRetries": {
            "format": "int32",
            "type": "integer"
          },
          "retryIntervalInSeconds": {
            "format": "int32",
            "type": "integer"
          },
          "outOfRetriesProcedure": {
            "type": "string"
          },
          "oauthSettingId": {
            "format": "int32",
            "type": "integer"
          }
        }
      }
    }
  },
  "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
    }
  }
}
```