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

# Get the authenticated organization

> Get the name, public ID, locale, plan and sandbox flag of the organisation your API key or OAuth token belongs to.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/organization
openapi: 3.0.0
info:
  title: Flowella REST API
  version: 2.1.0
  description: >-
    Public v1 HTTP API for Flowella. Authenticate with `Authorization: Bearer
    <api_key>` (`flo_` prefix) or an OAuth access token (`fla_` prefix).
    Canonical base: `https://api.flowella.io/v1`. Legacy
    `https://app.flowella.io/api/v1/...` requests are permanently redirected
    (308) to the canonical host, preserving method and body.
servers:
  - url: https://api.flowella.io
    description: Canonical API host
  - url: https://app.flowella.io
    description: Legacy app host — /api/v1 permanently redirects (308) to the API host /v1
security: []
tags:
  - name: System
    description: Health and auth checks
  - name: Account
    description: Credential and organisation details
  - name: Messages
    description: Send WhatsApp messages
  - name: Conversations
    description: Inbox conversations
  - name: Contacts
    description: CRM contacts
  - name: Templates
    description: WhatsApp templates and bulk send
  - name: Analytics
    description: Usage and delivery metrics
paths:
  /v1/organization:
    get:
      tags:
        - Account
      summary: Get the authenticated organization
      description: >-
        Returns basic public identity for the organization bound to the API key
        or OAuth token: name, public org id, locale, plan, and sandbox flag.
        Omits emails, HubSpot/Meta tokens, and other private fields.
      operationId: v1GetOrganization
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  organizationId:
                    type: string
                  publicOrgId:
                    type: integer
                  name:
                    type: string
                  slug:
                    type: string
                    nullable: true
                  defaultContentLocale:
                    type: string
                  sandboxEnabled:
                    type: boolean
                  plan:
                    type: string
                    nullable: true
                  billingStatus:
                    type: string
                    nullable: true
                  createdAt:
                    type: string
                required:
                  - organizationId
                  - publicOrgId
                  - name
                  - slug
                  - defaultContentLocale
                  - sandboxEnabled
                  - plan
                  - billingStatus
                  - createdAt
                example:
                  organizationId: '85'
                  publicOrgId: 684335
                  name: Flowella
                  slug: flowella
                  defaultContentLocale: en
                  sandboxEnabled: false
                  plan: PRO
                  billingStatus: ACTIVE
                  createdAt: '2024-01-15T12:00:00.000Z'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      details:
                        nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
                description: >-
                  Machine codes include INVALID_TEMPLATE_NAME and
                  INVALID_TEMPLATE_COMPONENTS. requestId is copied from
                  X-Request-Id when present.
                example:
                  error:
                    code: INVALID_TEMPLATE_COMPONENTS
                    message: INVALID_TEMPLATE_COMPONENTS
                    requestId: req_019abc
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                      details:
                        nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
                description: >-
                  Machine codes include INVALID_TEMPLATE_NAME and
                  INVALID_TEMPLATE_COMPONENTS. requestId is copied from
                  X-Request-Id when present.
                example:
                  error:
                    code: INVALID_TEMPLATE_COMPONENTS
                    message: INVALID_TEMPLATE_COMPONENTS
                    requestId: req_019abc
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: >-
        Organization API key (`flo_…`) or OAuth access token (`fla_…`). Paste
        the full token; Scalar sends `Authorization: Bearer <token>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.