AhaSend · Schema

Account

Account schema from AhaSend API

EmailTransactional EmailDeveloper ToolsSMTPWebhooks

Properties

Name Type Description
object string Object type identifier
id string Unique identifier for the account
created_at string When the account was created
updated_at string When the account was last updated
name string Account name
website string Account website URL
about string Account description
track_opens boolean Default open tracking setting
track_clicks boolean Default click tracking setting
reject_bad_recipients boolean Whether to reject bad recipients
reject_mistyped_recipients boolean Whether to reject mistyped recipients
message_metadata_retention integer Default message metadata retention in days
message_data_retention integer Default message data retention in days
View JSON Schema on GitHub

JSON Schema

openapi-v2-account-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-account-schema.json",
  "title": "Account",
  "description": "Account schema from AhaSend API",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "account"
      ],
      "description": "Object type identifier",
      "example": "account"
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the account",
      "example": "500123"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the account was created",
      "example": "2025-03-15T14:30:00Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the account was last updated",
      "example": "2025-03-15T14:30:00Z"
    },
    "name": {
      "type": "string",
      "description": "Account name",
      "example": "Example Name"
    },
    "website": {
      "type": "string",
      "format": "uri",
      "nullable": true,
      "description": "Account website URL",
      "example": "https://example.com"
    },
    "about": {
      "type": "string",
      "nullable": true,
      "description": "Account description",
      "example": "example_value"
    },
    "track_opens": {
      "type": "boolean",
      "description": "Default open tracking setting",
      "example": true
    },
    "track_clicks": {
      "type": "boolean",
      "description": "Default click tracking setting",
      "example": true
    },
    "reject_bad_recipients": {
      "type": "boolean",
      "description": "Whether to reject bad recipients",
      "example": true
    },
    "reject_mistyped_recipients": {
      "type": "boolean",
      "description": "Whether to reject mistyped recipients",
      "example": true
    },
    "message_metadata_retention": {
      "type": "integer",
      "description": "Default message metadata retention in days",
      "example": 1
    },
    "message_data_retention": {
      "type": "integer",
      "description": "Default message data retention in days",
      "example": 1
    }
  },
  "required": [
    "object",
    "id",
    "created_at",
    "updated_at",
    "name"
  ]
}