Amazon Q · Schema

SearchMessageTemplatesResponse

Artificial IntelligenceAssistantAmazon Web ServicesEnterpriseGenerative AI

Properties

Name Type Description
results array The results of the message template search.
nextToken string If there are additional results, this is the token for the next set of results.
View JSON Schema on GitHub

JSON Schema

amazon-q-search-message-templates-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-search-message-templates-response-schema.json",
  "title": "SearchMessageTemplatesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-search-api-openapi.yml#/components/schemas/SearchMessageTemplatesResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MessageTemplateSearchResultData"
      },
      "description": "The results of the message template search."
    },
    "nextToken": {
      "type": "string",
      "description": "If there are additional results, this is the token for the next set of results."
    }
  },
  "required": [
    "results"
  ],
  "$defs": {
    "GroupingConfiguration": {
      "type": "object",
      "properties": {
        "criteria": {
          "type": "string",
          "description": "The criteria used for grouping Amazon Q in Connect users. The following is the list of supported criteria values. RoutingProfileArn: Grouping the users by their Amazon Connect routing profile ARN. User should have SearchRoutingProfile and DescribeRoutingProfile permissions when setting criteria to this value."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of values that define different groups of Amazon Q in Connect users. When setting criteria to RoutingProfileArn, you need to provide a list of ARNs of Connect Customer routing profiles as values of this parameter."
        }
      }
    },
    "MessageTemplateSearchResultData": {
      "type": "object",
      "properties": {
        "messageTemplateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the message template."
        },
        "messageTemplateId": {
          "type": "string",
          "description": "The identifier of the message template."
        },
        "knowledgeBaseArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the knowledge base."
        },
        "knowledgeBaseId": {
          "type": "string",
          "description": "The identifier of the knowledge base."
        },
        "name": {
          "type": "string",
          "description": "The name of the message template."
        },
        "channel": {
          "type": "string",
          "description": "The channel of the message template."
        },
        "channelSubtype": {
          "type": "string",
          "description": "The channel subtype this message template applies to."
        },
        "createdTime": {
          "type": "string",
          "description": "The timestamp when the message template was created."
        },
        "lastModifiedTime": {
          "type": "string",
          "description": "The timestamp when the message template data was last modified."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the user who last updated the message template data."
        },
        "isActive": {
          "type": "boolean",
          "description": "Whether the version of the message template is activated."
        },
        "versionNumber": {
          "type": "integer",
          "description": "The version number of the message template version."
        },
        "description": {
          "type": "string",
          "description": "The description of the message template."
        },
        "sourceConfigurationSummary": {
          "$ref": "#/$defs/MessageTemplateSourceConfigurationSummary"
        },
        "groupingConfiguration": {
          "$ref": "#/$defs/GroupingConfiguration"
        },
        "language": {
          "type": "string",
          "description": "The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW"
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags used to organize, track, or control access for this resource."
        }
      },
      "required": [
        "messageTemplateArn",
        "messageTemplateId",
        "knowledgeBaseArn",
        "knowledgeBaseId",
        "name",
        "channelSubtype",
        "createdTime",
        "lastModifiedTime",
        "lastModifiedBy"
      ]
    },
    "MessageTemplateSourceConfigurationSummary": {
      "type": "object",
      "properties": {
        "whatsApp": {
          "$ref": "#/$defs/WhatsAppMessageTemplateSourceConfigurationSummary"
        }
      },
      "description": "Exactly one member is set."
    },
    "WhatsAppMessageTemplateSourceConfigurationSummary": {
      "type": "object",
      "properties": {
        "businessAccountId": {
          "type": "string",
          "description": "The ID of the End User Messaging WhatsApp Business Account to associate with this template."
        },
        "templateId": {
          "type": "string",
          "description": "The ID of WhatsApp template."
        },
        "name": {
          "type": "string",
          "description": "The name of the WhatsApp template."
        },
        "language": {
          "type": "string",
          "description": "The language of the WhatsApp template."
        },
        "components": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of component mapping from WhatsApp template parameters to Message Template attributes."
        },
        "status": {
          "type": "string",
          "description": "The status of the message template."
        },
        "statusReason": {
          "type": "string",
          "description": "The status reason of the message template."
        }
      },
      "required": [
        "businessAccountId",
        "templateId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-q-search-message-templates-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.