AhaSend · JSON Structure

Openapi V2 Api Key Scope Structure

APIKeyScope schema from AhaSend API

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

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

Properties

id created_at updated_at api_key_id scope domain_id

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-api-key-scope-structure.json",
  "name": "APIKeyScope",
  "description": "APIKeyScope schema from AhaSend API",
  "type": "object",
  "properties": {
    "id": {
      "type": "uuid",
      "description": "Unique identifier for the scope",
      "example": "500123"
    },
    "created_at": {
      "type": "datetime",
      "description": "When the scope was created",
      "example": "2025-03-15T14:30:00Z"
    },
    "updated_at": {
      "type": "datetime",
      "description": "When the scope was last updated",
      "example": "2025-03-15T14:30:00Z"
    },
    "api_key_id": {
      "type": "uuid",
      "description": "ID of the API key this scope belongs to",
      "example": "500123"
    },
    "scope": {
      "type": "string",
      "description": "The scope string",
      "example": "example_value"
    },
    "domain_id": {
      "type": "uuid",
      "description": "Domain ID for domain-specific scopes",
      "example": "500123"
    }
  },
  "required": [
    "id",
    "created_at",
    "updated_at",
    "api_key_id",
    "scope"
  ]
}