openapi: 3.0.3
info:
  title: Everflow Network API - Network Info
  description: Endpoint for retrieving network configuration information.
  version: 1.0.0
servers:
  - url: https://api.eflow.team/v1
tags:
  - name: Network Info
paths:
  /networks:
    get:
      summary: Get Network Info
      tags:
        - Network Info
      responses:
        "200":
          description: ""
          content:
            application/json:
              schema:
                type: object
                properties:
                  network_id:
                    type: integer
                    description: Unique network ID.
                  customer_id:
                    type: integer
                    description: Customer account ID.
                  name:
                    type: string
                    description: Network name.
                  identifier:
                    type: string
                    description: Network identifier string.
                  account_status:
                    type: string
                    description: Current account status.
                  displayed_name:
                    type: string
                    description: The display name for the network.
                  is_show_name:
                    type: boolean
                    description: Whether to show the network name.
                  timezone_id:
                    type: integer
                    description: Primary timezone ID for the network.
                  language_id:
                    type: integer
                    description: Default language ID.
                  currency_id:
                    type: string
                    description: Default currency code.
                  logo_image_url:
                    type: string
                  favicon_image_url:
                    type: string
                  support_email:
                    type: string
                  time_created:
                    type: integer
                    example: 1734455015
                    description: Unix timestamp of creation.
                  time_saved:
                    type: integer
                    example: 1734455015
                    description: Unix timestamp of last update.
      security:
        - API Key: []
components:
  securitySchemes:
    API Key:
      description: The Everflow API key generated from the Control Center > Security.
      in: header
      name: X-Eflow-Api-Key
      type: apiKey
