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

# Retrieve the organization

> > **Requires scope** `organization:read` · **Minimum role** viewer

Returns the organization the access token is bound to. A token is bound to exactly one organization; use `/chapters` to reach child chapters.

[Scopes and roles](https://docs.dueflow.co/api-reference/scopes)



## OpenAPI

````yaml /openapi.json get /v1/organization
openapi: 3.1.0
info:
  title: Dueflow API
  version: 1.0.0
  description: >-
    Read and write your organization's Dueflow data. Authenticate with a
    personal access token or an organization service token as a bearer
    credential; cookies are ignored.
  termsOfService: https://dueflow.co/terms
  contact:
    name: Dueflow support
    email: support@dueflow.co
    url: https://docs.dueflow.co
servers:
  - url: https://api.dueflow.co
    description: Production
  - url: https://api.preview.dueflow.co
    description: Preview
security:
  - bearerAuth: []
paths:
  /v1/organization:
    get:
      tags:
        - Organization
      summary: Retrieve the organization
      description: >-
        > **Requires scope** `organization:read` · **Minimum role** viewer


        Returns the organization the access token is bound to. A token is bound
        to exactly one organization; use `/chapters` to reach child chapters.


        [Scopes and roles](https://docs.dueflow.co/api-reference/scopes)
      operationId: getOrganization
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  type:
                    type: string
                    enum:
                      - national
                      - chapter
                  parentId:
                    anyOf:
                      - type: string
                      - type: 'null'
                  currency:
                    type: string
                  contactEmail:
                    anyOf:
                      - type: string
                      - type: 'null'
                  website:
                    anyOf:
                      - type: string
                      - type: 'null'
                  logoUrl:
                    anyOf:
                      - type: string
                      - type: 'null'
                  isActive:
                    type: boolean
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - id
                  - name
                  - type
                  - parentId
                  - currency
                  - contactEmail
                  - website
                  - logoUrl
                  - isActive
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '401':
          description: Missing, malformed, expired or revoked token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The token lacks a required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource, or the token's organization can't see it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; see the `Retry-After` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth:
            - organization:read
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type: string
            requiredScopes:
              type: array
              items:
                type: string
            requestId:
              type: string
            docsUrl:
              type: string
          required:
            - code
            - message
            - requestId
            - docsUrl
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Dueflow access token: `dfp_` (personal) or `dfs_` (service).
        Permissions are the token's scopes intersected with the role ceiling,
        re-evaluated per request.

````