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

# Get the organization that owns the API key

> Returns the organization tied to the bearer API key plus its enabled modules and a couple of headline counts. Use this on integration boot-up to confirm the key is healthy and the org has the modules you expect.



## OpenAPI

````yaml /openapi.json get /organizations/me
openapi: 3.1.0
info:
  title: United Logistics API
  version: 0.1.0
  description: >-
    Industry-grade public API for fleet, fuel, and toll operations. Every
    endpoint is scoped to the organization owning the API key. Authentication:
    bearer API key (`ulk_<prefix>_<secret>`). Rate limit: 60 requests/minute/key
    by default (override per key via the dashboard).
  contact:
    name: United Logistics Engineering
    email: sfuentes@assetmg.tech
servers:
  - url: https://app.unitedlogistics.com.do/api/v1
    description: Production
  - url: http://localhost:3000/api/v1
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /organizations/me:
    get:
      tags:
        - Organizations
      summary: Get the organization that owns the API key
      description: >-
        Returns the organization tied to the bearer API key plus its enabled
        modules and a couple of headline counts. Use this on integration boot-up
        to confirm the key is healthy and the org has the modules you expect.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationMeResponse'
        '401':
          description: API key missing or invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorObject'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorObject'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    OrganizationMeResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Organization'
      required:
        - data
    ErrorObject:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: unauthorized
            message:
              type: string
              example: Missing Authorization header.
            details: {}
          required:
            - code
            - message
      required:
        - error
    Organization:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        avatar_url:
          type:
            - string
            - 'null'
        enabled_modules:
          $ref: '#/components/schemas/EnabledModules'
        project_purge_grace_days:
          type:
            - integer
            - 'null'
        archived_at:
          type:
            - string
            - 'null'
        members_count:
          type: integer
          minimum: 0
        projects_count:
          type: integer
          minimum: 0
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - name
        - avatar_url
        - enabled_modules
        - project_purge_grace_days
        - archived_at
        - members_count
        - projects_count
        - created_at
        - updated_at
    EnabledModules:
      type: object
      properties:
        paso_rapido:
          type: boolean
        telematics:
          type: boolean
        pois:
          type: boolean
        fuel_management:
          type: boolean
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: ulk_<prefix>_<secret>
      description: >-
        Authorization: Bearer ulk_<prefix>_<secret>. Cree la clave en
        Configuración → API.

````