AhaSend · JSON Structure

Openapi V2 Update Route Request Structure

UpdateRouteRequest schema from AhaSend API

Type: object Properties: 8
EmailTransactional EmailDeveloper ToolsSMTPWebhooks

UpdateRouteRequest is a JSON Structure definition published by AhaSend, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name url recipient attachments headers group_by_message_id strip_replies enabled

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-structure/openapi-v2-update-route-request-structure.json",
  "name": "UpdateRouteRequest",
  "description": "UpdateRouteRequest schema from AhaSend API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "nullable": true,
      "description": "Route name",
      "example": "Example Name"
    },
    "url": {
      "type": "uri",
      "nullable": true,
      "description": "Webhook URL for the route",
      "example": "https://example.com"
    },
    "recipient": {
      "type": "string",
      "maxLength": 255,
      "nullable": true,
      "description": "Recipient filter",
      "example": "example_value"
    },
    "attachments": {
      "type": "boolean",
      "nullable": true,
      "description": "Whether to include attachments in webhooks",
      "example": true
    },
    "headers": {
      "type": "boolean",
      "nullable": true,
      "description": "Whether to include headers in webhooks",
      "example": true
    },
    "group_by_message_id": {
      "type": "boolean",
      "nullable": true,
      "description": "Whether to group by message ID",
      "example": true
    },
    "strip_replies": {
      "type": "boolean",
      "nullable": true,
      "description": "Whether to strip reply content",
      "example": true
    },
    "enabled": {
      "type": "boolean",
      "nullable": true,
      "description": "Whether the route is enabled",
      "example": true
    }
  },
  "example": {
    "name": "Updated Support Route",
    "enabled": false
  }
}