AhaSend · Schema

CreateMessageResponse

CreateMessageResponse schema from AhaSend API

EmailTransactional EmailDeveloper ToolsSMTPWebhooks

Properties

Name Type Description
object string Object type identifier
data array List of messages and their statuses
View JSON Schema on GitHub

JSON Schema

openapi-v2-create-message-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-schema/openapi-v2-create-message-response-schema.json",
  "title": "CreateMessageResponse",
  "description": "CreateMessageResponse schema from AhaSend API",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "list"
      ],
      "description": "Object type identifier",
      "example": "list"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CreateSingleMessageResponse"
      },
      "description": "List of messages and their statuses",
      "example": [
        {
          "object": "message",
          "id": "500123",
          "recipient": {},
          "status": "queued",
          "error": "example_value"
        }
      ]
    }
  },
  "required": [
    "object",
    "data"
  ]
}