AhaSend · Schema

UserAccount

UserAccount schema from AhaSend API

EmailTransactional EmailDeveloper ToolsSMTPWebhooks

Properties

Name Type Description
id string Unique identifier for the user account relationship
created_at string When the relationship was created
updated_at string When the relationship was last updated
user_id string User ID
account_id string Account ID
role string User role in the account
View JSON Schema on GitHub

JSON Schema

openapi-v2-user-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-user-account-schema.json",
  "title": "UserAccount",
  "description": "UserAccount schema from AhaSend API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the user account relationship",
      "example": "500123"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the relationship was created",
      "example": "2025-03-15T14:30:00Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the relationship was last updated",
      "example": "2025-03-15T14:30:00Z"
    },
    "user_id": {
      "type": "string",
      "format": "uuid",
      "description": "User ID",
      "example": "500123"
    },
    "account_id": {
      "type": "string",
      "format": "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"
  ]
}