> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xem.email/llms.txt
> Use this file to discover all available pages before exploring further.

# Get user details

> Get details of a specific user (requires admin permissions)



## OpenAPI

````yaml get /auth/users/{id}
openapi: 3.0.3
info:
  title: Xem API
  version: '1.0'
  description: Comprehensive API server for Xem email marketing platform
  contact: {}
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.xem.email/api/v1
    description: Production server
  - url: http://localhost:8080/api/v1
    description: Development server
security: []
tags:
  - name: Authentication
    description: User authentication and authorization endpoints
  - name: Teams
    description: Team management and collaboration features
  - name: Campaigns
    description: Email campaign creation, management, and tracking
  - name: Analytics
    description: Campaign analytics, audience insights, and performance metrics
  - name: Contacts
    description: Contact management and mailing list operations
  - name: Templates
    description: Email template management and customization
  - name: Automations
    description: Email automation workflows and triggers
  - name: SMTP
    description: SMTP configuration and email delivery settings
  - name: IMAP
    description: IMAP configuration for email inbox management
  - name: Webhooks
    description: Webhook management for real-time event notifications
  - name: Files
    description: File upload and management for attachments and media
  - name: Domains
    description: Domain management for email authentication
  - name: API Keys
    description: API key management for programmatic access
paths:
  /auth/users/{id}:
    get:
      tags:
        - users
      summary: Get user details
      description: Get details of a specific user (requires admin permissions)
      parameters:
        - name: id
          in: path
          description: User ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kori_internal_models.User'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '404':
          description: User not found
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
      security: []
components:
  schemas:
    kori_internal_models.User:
      type: object
      properties:
        createdAt:
          type: string
        email:
          type: string
        files:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.File'
        firstName:
          type: string
        id:
          type: string
        invites:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.TeamInvite'
        isDeleted:
          type: boolean
          default: false
        lastName:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.UserPermission'
        profilePicture:
          $ref: '#/components/schemas/kori_internal_models.File'
        profilePictureId:
          type: string
        provider:
          description: '''local'', ''google'', etc.'
          type: string
        providerData:
          description: Additional data from provider
          type: array
          items:
            type: integer
        providerId:
          description: ID from the OAuth provider
          type: string
        role:
          $ref: '#/components/schemas/kori_internal_models.UserRole'
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.File:
      type: object
      required:
        - name
        - path
        - size
        - type
      properties:
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
        path:
          type: string
        signedUrl:
          description: Virtual field
          type: string
        size:
          type: integer
          minimum: 1
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        type:
          type: string
        updatedAt:
          type: string
        user:
          $ref: '#/components/schemas/kori_internal_models.User'
        userId:
          type: string
    kori_internal_models.TeamInvite:
      type: object
      required:
        - email
        - expiresAt
        - inviterId
        - name
        - role
        - status
        - teamId
      properties:
        code:
          type: string
        createdAt:
          type: string
        email:
          type: string
        expiresAt:
          type: string
        id:
          type: string
        inviter:
          $ref: '#/components/schemas/kori_internal_models.User'
        inviterId:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
          minLength: 2
        role:
          enum:
            - MEMBER
            - ADMIN
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.UserRole'
        status:
          enum:
            - PENDING
            - ACCEPTED
            - REJECTED
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.InviteStatus'
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.UserPermission:
      type: object
      properties:
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        resourcePermission:
          $ref: '#/components/schemas/kori_internal_models.ResourcePermission'
        resourcePermissionId:
          type: string
        updatedAt:
          type: string
        user:
          $ref: '#/components/schemas/kori_internal_models.User'
        userId:
          type: string
    kori_internal_models.UserRole:
      type: string
      enum:
        - SUPER_ADMIN
        - ADMIN
        - MEMBER
      x-enum-varnames:
        - UserRoleSuperAdmin
        - UserRoleAdmin
        - UserRoleMember
    kori_internal_models.Team:
      type: object
      required:
        - name
      properties:
        apiKeys:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.APIKey'
        automations:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Automation'
        campaigns:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Campaign'
        createdAt:
          type: string
        domains:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Domain'
        emailCategories:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.EmailCategory'
        id:
          type: string
        invites:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.TeamInvite'
        isDeleted:
          type: boolean
          default: false
        mailingLists:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.MailingList'
        models:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Model'
        name:
          type: string
          minLength: 2
        settings:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.TeamSettings'
        smtpConfigs:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.SMTPConfig'
        updatedAt:
          type: string
        users:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.User'
        webhooks:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Webhook'
    kori_internal_models.InviteStatus:
      type: string
      enum:
        - PENDING
        - ACCEPTED
        - REJECTED
      x-enum-varnames:
        - InviteStatusPending
        - InviteStatusAccepted
        - InviteStatusRejected
    kori_internal_models.ResourcePermission:
      type: object
      properties:
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        resource:
          $ref: '#/components/schemas/kori_internal_models.Resource'
        resourceId:
          type: string
        scope:
          description: >-
            Scope defines the permission level, e.g. "read:campaigns",
            "write:templates"
          type: string
        updatedAt:
          type: string
    kori_internal_models.APIKey:
      type: object
      required:
        - teamId
      properties:
        createdAt:
          type: string
        expiresAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        key:
          type: string
        lastUsedAt:
          type: string
        name:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.APIKeyPermission'
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.Automation:
      type: object
      properties:
        createdAt:
          type: string
        description:
          type: string
        edges:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.AutomationNodeEdge'
        id:
          type: string
        isActive:
          type: boolean
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.AutomationNode'
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.Campaign:
      type: object
      properties:
        analytics:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.EmailTracking'
        batchDelay:
          description: 1 hour delay between batches
          allOf:
            - $ref: '#/components/schemas/time.Duration'
        batchSize:
          type: integer
        createdAt:
          type: string
        cronExpression:
          type: string
        data:
          type: array
          items:
            type: integer
        description:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        list:
          $ref: '#/components/schemas/kori_internal_models.MailingList'
        listId:
          type: string
        name:
          type: string
        processed:
          type: integer
        recurringSchedule:
          $ref: '#/components/schemas/kori_internal_models.CampaignRecurringSchedule'
        schedule:
          $ref: '#/components/schemas/kori_internal_models.CampaignSchedule'
        scheduledFor:
          type: string
        sentEmails:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Email'
        smtpConfig:
          $ref: '#/components/schemas/kori_internal_models.SMTPConfig'
        smtpConfigId:
          type: string
        status:
          $ref: '#/components/schemas/kori_internal_models.CampaignStatus'
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        template:
          $ref: '#/components/schemas/kori_internal_models.Template'
        templateId:
          type: string
        timezone:
          type: string
        updatedAt:
          type: string
    kori_internal_models.Domain:
      type: object
      required:
        - domain
        - teamId
      properties:
        createdAt:
          type: string
        dnsRecord:
          type: string
        domain:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        isVerified:
          type: boolean
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.EmailCategory:
      type: object
      required:
        - name
        - teamId
      properties:
        createdAt:
          type: string
        description:
          type: string
        emails:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Email'
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
          minLength: 2
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        templates:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Template'
        updatedAt:
          type: string
    kori_internal_models.MailingList:
      type: object
      required:
        - name
        - teamId
      properties:
        contactImports:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.ContactImport'
        contacts:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Contact'
        createdAt:
          type: string
        description:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
          minLength: 2
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.Model:
      type: object
      properties:
        createdAt:
          type: string
        description:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
        provider:
          type: string
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.TeamSettings:
      type: object
      properties:
        branding:
          $ref: '#/components/schemas/kori_internal_models.BrandingSettings'
        brandingSettingsId:
          type: string
        createdAt:
          type: string
        id:
          type: string
        inviteTemplateId:
          type: string
        isDeleted:
          type: boolean
          default: false
        teamId:
          type: string
        updatedAt:
          type: string
        welcomeTemplateId:
          type: string
    kori_internal_models.SMTPConfig:
      type: object
      required:
        - fromEmail
        - host
        - maxSendRate
        - password
        - port
        - provider
        - teamId
        - username
      properties:
        createdAt:
          type: string
        fromEmail:
          type: string
        host:
          type: string
        id:
          type: string
        isActive:
          type: boolean
        isDefault:
          type: boolean
        isDeleted:
          type: boolean
          default: false
        maxSendRate:
          type: integer
          minimum: 1
        password:
          type: string
          minLength: 8
        port:
          type: integer
          maximum: 65535
          minimum: 1
        provider:
          type: string
          enum:
            - CUSTOM
            - GMAIL
            - OUTLOOK
            - AMAZON
        requiresAuth:
          type: boolean
        supportsTls:
          type: boolean
        teamId:
          type: string
        updatedAt:
          type: string
        username:
          type: string
    kori_internal_models.Webhook:
      type: object
      required:
        - events
        - name
        - secret
        - teamId
        - url
      properties:
        createdAt:
          type: string
        deliveries:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Delivery'
        events:
          type: array
          minItems: 1
          items:
            type: string
        id:
          type: string
        isActive:
          type: boolean
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
          minLength: 2
        secret:
          type: string
          minLength: 16
        teamId:
          type: string
        updatedAt:
          type: string
        url:
          type: string
    kori_internal_models.Resource:
      type: object
      properties:
        action:
          description: '"create", "read", "update", "delete"'
          type: string
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          description: e.g. "campaigns", "templates", "lists"
          type: string
        updatedAt:
          type: string
    kori_internal_models.APIKeyPermission:
      type: object
      properties:
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        key:
          $ref: '#/components/schemas/kori_internal_models.APIKey'
        keyId:
          type: string
        resourcePermission:
          $ref: '#/components/schemas/kori_internal_models.ResourcePermission'
        resourcePermissionId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.AutomationNodeEdge:
      type: object
      properties:
        animated:
          type: boolean
        automation:
          $ref: '#/components/schemas/kori_internal_models.Automation'
        automationId:
          type: string
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        label:
          type: string
        source:
          $ref: '#/components/schemas/kori_internal_models.AutomationNode'
        sourceId:
          type: string
        target:
          $ref: '#/components/schemas/kori_internal_models.AutomationNode'
        targetId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.AutomationNode:
      type: object
      required:
        - data
        - type
      properties:
        automation:
          $ref: '#/components/schemas/kori_internal_models.Automation'
        automationId:
          type: string
        createdAt:
          type: string
        data:
          type: array
          items:
            type: integer
        edgesFrom:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.AutomationNodeEdge'
        edgesTo:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.AutomationNodeEdge'
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        type:
          enum:
            - EMAIL_WRITER
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.NodeType'
        updatedAt:
          type: string
    kori_internal_models.EmailTracking:
      type: object
      required:
        - emailId
        - event
        - timestamp
      properties:
        browser:
          type: string
        campaign:
          $ref: '#/components/schemas/kori_internal_models.Campaign'
        campaignId:
          type: string
        city:
          type: string
        contact:
          $ref: '#/components/schemas/kori_internal_models.Contact'
        contactId:
          type: string
        country:
          type: string
        createdAt:
          type: string
        deviceType:
          type: string
          enum:
            - desktop
            - mobile
            - tablet
            - other
        email:
          $ref: '#/components/schemas/kori_internal_models.Email'
        emailId:
          type: string
        event:
          enum:
            - click
            - open
            - reply
            - bounce
            - complaint
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.EmailTrackingEvent'
        id:
          type: string
        ipAddress:
          description: 🌍 Geographic Data
          type: string
        isDeleted:
          type: boolean
          default: false
        metadata:
          description: 📊 Additional Metadata
          type: array
          items:
            type: integer
        os:
          type: string
        region:
          type: string
        timestamp:
          type: string
        updatedAt:
          type: string
        url:
          description: 🔗 Click Specific Data (for click events)
          type: string
        userAgent:
          description: 📱 Device Information
          type: string
    time.Duration:
      type: integer
      format: int64
      enum:
        - -9223372036854776000
        - 9223372036854776000
        - 1
        - 1000
        - 1000000
        - 1000000000
        - 60000000000
        - 3600000000000
      x-enum-varnames:
        - minDuration
        - maxDuration
        - Nanosecond
        - Microsecond
        - Millisecond
        - Second
        - Minute
        - Hour
    kori_internal_models.CampaignRecurringSchedule:
      type: string
      enum:
        - DAILY
        - WEEKLY
        - MONTHLY
        - CUSTOM
      x-enum-varnames:
        - CampaignRecurringScheduleDaily
        - CampaignRecurringScheduleWeekly
        - CampaignRecurringScheduleMonthly
        - CampaignRecurringScheduleCustom
    kori_internal_models.CampaignSchedule:
      type: string
      enum:
        - ONE_TIME
        - RECURRING
      x-enum-varnames:
        - CampaignScheduleOneTime
        - CampaignScheduleRecurring
    kori_internal_models.Email:
      type: object
      required:
        - body
        - categoryId
        - from
        - smtpConfigId
        - status
        - subject
        - teamId
        - to
      properties:
        bcc:
          type: string
        body:
          type: string
        campaign:
          $ref: '#/components/schemas/kori_internal_models.Campaign'
        campaignId:
          type: string
        category:
          $ref: '#/components/schemas/kori_internal_models.EmailCategory'
        categoryId:
          type: string
        cc:
          type: string
        contact:
          $ref: '#/components/schemas/kori_internal_models.Contact'
        contactId:
          type: string
        createdAt:
          type: string
        data:
          type: array
          items:
            type: integer
        error:
          type: string
        from:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        replyTo:
          type: string
        sendAt:
          type: string
        sentAt:
          type: string
        smtpConfig:
          $ref: '#/components/schemas/kori_internal_models.SMTPConfig'
        smtpConfigId:
          type: string
        status:
          enum:
            - DRAFT
            - QUEUED
            - SENDING
            - SENT
            - FAILED
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.EmailStatus'
        subject:
          type: string
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        template:
          $ref: '#/components/schemas/kori_internal_models.Template'
        templateId:
          type: string
        test:
          type: boolean
        to:
          type: string
        updatedAt:
          type: string
    kori_internal_models.CampaignStatus:
      type: string
      enum:
        - DRAFT
        - SCHEDULED
        - SENDING
        - COMPLETED
        - FAILED
        - PAUSED
      x-enum-varnames:
        - CampaignStatusDraft
        - CampaignStatusScheduled
        - CampaignStatusSending
        - CampaignStatusCompleted
        - CampaignStatusFailed
        - CampaignStatusPaused
    kori_internal_models.Template:
      type: object
      required:
        - categoryId
        - name
        - subject
        - teamId
      properties:
        category:
          $ref: '#/components/schemas/kori_internal_models.EmailCategory'
        categoryId:
          type: string
        createdAt:
          type: string
        designJson:
          type: string
        emails:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Email'
        htmlFile:
          $ref: '#/components/schemas/kori_internal_models.File'
        htmlFileId:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
          minLength: 2
        subject:
          type: string
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
        variables:
          type: array
          items:
            type: string
    kori_internal_models.ContactImport:
      type: object
      required:
        - fieldsMap
        - listId
        - status
        - teamId
      properties:
        contacts:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Contact'
        createdAt:
          type: string
        fieldsMap:
          type: array
          items:
            type: integer
        file:
          $ref: '#/components/schemas/kori_internal_models.File'
        fileId:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        list:
          $ref: '#/components/schemas/kori_internal_models.MailingList'
        listId:
          type: string
        status:
          enum:
            - PENDING
            - PROCESSING
            - COMPLETED
            - FAILED
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.ContactImportStatus'
        team:
          $ref: '#/components/schemas/kori_internal_models.Team'
        teamId:
          type: string
        updatedAt:
          type: string
    kori_internal_models.Contact:
      type: object
      required:
        - email
        - listId
        - status
        - teamId
      properties:
        address:
          type: string
        city:
          type: string
        company:
          type: string
        country:
          type: string
        createdAt:
          type: string
        email:
          type: string
        facebook:
          type: string
        firstName:
          type: string
          minLength: 2
        id:
          type: string
        import:
          $ref: '#/components/schemas/kori_internal_models.ContactImport'
        importId:
          type: string
        instagram:
          type: string
        isDeleted:
          type: boolean
          default: false
        lastName:
          type: string
          minLength: 2
        linkedin:
          type: string
        list:
          $ref: '#/components/schemas/kori_internal_models.MailingList'
        listId:
          type: string
        metadata:
          type: array
          items:
            type: integer
        phone:
          type: string
        state:
          type: string
        status:
          enum:
            - ACTIVE
            - UNSUBSCRIBED
            - BOUNCED
            - COMPLAINED
          allOf:
            - $ref: '#/components/schemas/kori_internal_models.SubscriberStatus'
        tags:
          type: array
          items:
            $ref: '#/components/schemas/kori_internal_models.Tag'
        teamId:
          type: string
        twitter:
          type: string
        updatedAt:
          type: string
        zip:
          type: string
    kori_internal_models.BrandingSettings:
      type: object
      properties:
        createdAt:
          type: string
        dashboardName:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        logoUrl:
          type: string
        updatedAt:
          type: string
    kori_internal_models.Delivery:
      type: object
      required:
        - event
        - payload
        - status
        - webhookId
      properties:
        createdAt:
          type: string
        error:
          type: string
        event:
          type: string
          enum:
            - click
            - open
            - reply
            - bounce
            - complaint
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        payload:
          type: array
          items:
            type: integer
        responseBody:
          type: string
        responseCode:
          type: integer
          maximum: 599
          minimum: 100
        status:
          type: string
          enum:
            - PENDING
            - SUCCESS
            - FAILED
        updatedAt:
          type: string
        webhookId:
          type: string
    kori_internal_models.NodeType:
      type: string
      enum:
        - START
        - EMAIL
        - WAIT
        - CONDITION
        - WEBHOOK
        - ADD_TO_LIST
        - REMOVE_FROM_LIST
        - UPDATE_SUBSCRIBER
        - CHECK_ENGAGEMENT
        - SEGMENT
        - TAG
        - UNSUBSCRIBE
        - CUSTOM_CODE
        - EXIT
      x-enum-varnames:
        - NodeTypeStart
        - NodeTypeEmail
        - NodeTypeWait
        - NodeTypeCondition
        - NodeTypeWebhook
        - NodeTypeAddToList
        - NodeTypeRemoveFromList
        - NodeTypeUpdateSubscriber
        - NodeTypeCheckEngagement
        - NodeTypeSegment
        - NodeTypeTag
        - NodeTypeUnsubscribe
        - NodeTypeCustomCode
        - NodeTypeExit
    kori_internal_models.EmailTrackingEvent:
      type: string
      enum:
        - click
        - open
        - reply
        - bounce
        - complaint
        - unsubscribe
      x-enum-varnames:
        - EmailTrackingEventClick
        - EmailTrackingEventOpen
        - EmailTrackingEventReply
        - EmailTrackingEventBounce
        - EmailTrackingEventComplaint
        - EmailTrackingEventUnsubscribe
    kori_internal_models.EmailStatus:
      type: string
      enum:
        - PENDING
        - SENT
        - FAILED
        - BOUNCED
        - OPENED
        - CLICKED
      x-enum-varnames:
        - EmailStatusPending
        - EmailStatusSent
        - EmailStatusFailed
        - EmailStatusBounced
        - EmailStatusOpened
        - EmailStatusClicked
    kori_internal_models.ContactImportStatus:
      type: string
      enum:
        - PENDING
        - COMPLETED
        - FAILED
      x-enum-varnames:
        - ContactImportStatusPending
        - ContactImportStatusCompleted
        - ContactImportStatusFailed
    kori_internal_models.SubscriberStatus:
      type: string
      enum:
        - ACTIVE
        - UNSUBSCRIBED
        - BOUNCED
        - COMPLAINED
      x-enum-varnames:
        - SubscriberStatusActive
        - SubscriberStatusUnsubscribed
        - SubscriberStatusBounced
        - SubscriberStatusComplained
    kori_internal_models.Tag:
      type: object
      required:
        - name
      properties:
        createdAt:
          type: string
        id:
          type: string
        isDeleted:
          type: boolean
          default: false
        name:
          type: string
          minLength: 1
        updatedAt:
          type: string
        value:
          type: string

````