AhaSend · JSON Structure

Openapi V2 User Account Structure

UserAccount schema from AhaSend API

Type: object Properties: 6 Required: 6
EmailTransactional EmailDeveloper ToolsSMTPWebhooks

UserAccount is a JSON Structure definition published by AhaSend, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id created_at updated_at user_id account_id role

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-user-account-structure.json",
  "name": "UserAccount",
  "description": "UserAccount schema from AhaSend API",
  "type": "object",
  "properties": {
    "id": {
      "type": "uuid",
      "description": "Unique identifier for the user account relationship",
      "example": "500123"
    },
    "created_at": {
      "type": "datetime",
      "description": "When the relationship was created",
      "example": "2025-03-15T14:30:00Z"
    },
    "updated_at": {
      "type": "datetime",
      "description": "When the relationship was last updated",
      "example": "2025-03-15T14:30:00Z"
    },
    "user_id": {
      "type": "uuid",
      "description": "User ID",
      "example": "500123"
    },
    "account_id": {
      "type": "uuid",
      "description": "Account ID",
      "example": "500123"
    },
    "role": {
      "type": "string",
      "enum": [
        "Administrator",
        "Developer",
        "Analyst",
        "Billing Manager"
      ],
      "description": "User role in the account",
      "example": "Administrator"
    }
  },
  "required": [
    "id",
    "created_at",
    "updated_at",
    "user_id",
    "account_id",
    "role"
  ]
}