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

# Get organization details

> Get details of the organization that manages the API key.



## OpenAPI

````yaml https://api.dnsradar.dev/openapi.json get /organization
openapi: 3.0.3
info:
  title: DNSRadar API
  description: DNSRadar API - Monitor your DNS records and get notified when they change.
  version: 1.0.0
  contact:
    name: DNSRadar Support
    email: support@dnsradar.dev
    url: https://dnsradar.dev
servers:
  - url: https://api.dnsradar.dev
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Agents
    description: Team member management and invitations
  - name: Organization
    description: Organization settings, billing, and subscription management
  - name: Monitors
    description: DNS monitoring configuration and management
  - name: Events
    description: DNS change events and history
  - name: Groups
    description: Monitor grouping and organization
  - name: Webhooks
    description: Webhook configuration for event notifications
paths:
  /organization:
    get:
      tags:
        - Organization
      summary: Get organization details
      description: Get details of the organization that manages the API key.
      operationId: getOrganization
      responses:
        '200':
          description: Organization details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Organization:
      type: object
      description: Organization or workspace
      properties:
        id:
          type: string
          format: string
          description: Organization UUID (32 characters)
          example: org_abc123...
        name:
          type: string
          description: Organization name
          example: Pied Piper
        line1:
          type: string
          nullable: true
          description: Address line 1
          example: 5230 Newell Rd
        line2:
          type: string
          nullable: true
          description: Address line 2
          example: Suite 400
        zipcode:
          type: string
          nullable: true
          description: Postal/ZIP code
          example: '94303'
        city:
          type: string
          nullable: true
          description: City
          example: Palo Alto
        state:
          type: string
          nullable: true
          description: State or province
          example: CA
        country:
          type: string
          nullable: true
          description: 2-letter country code
          example: US
        company_vat:
          type: string
          nullable: true
          description: European VAT/Tax number
        billing_email:
          type: string
          format: email
          nullable: true
          description: Billing contact email address
          example: billing@piedpiper.com
        is_premium:
          type: boolean
          description: Whether organization has an active subscription
        renew_date:
          type: string
          format: date-time
          nullable: true
          description: Next billing date
        cancels_at:
          type: string
          format: date-time
          nullable: true
          description: Scheduled cancellation date
        webhook_limit:
          type: integer
          description: >-
            Maximum number of webhooks allowed for this organization. You can
            request an increase by contacting support.
          default: 5
          example: 5
        max_api_keys:
          type: integer
          description: >-
            Maximum number of API keys allowed for this organization. You can
            request an increase by contacting support.
          default: 10
          example: 10
        total_monitors:
          type: integer
          description: Total number of monitors in this organization
          example: 150
        plan:
          allOf:
            - $ref: '#/components/schemas/Plan'
          nullable: true
          description: Current subscription plan for this organization
    Plan:
      type: object
      description: Subscription plan details
      properties:
        id:
          type: integer
          description: Plan identifier
        name:
          type: string
          description: Plan name
          example: Pro Plan
        created:
          type: string
          format: date-time
          description: Plan creation datetime in ISO 8601 format
        created_ts:
          type: integer
          description: Plan creation timestamp (Unix timestamp)
          example: 1672531200
        price:
          type: number
          description: Monthly price in dollars
          example: 29.99
        quantity:
          type: integer
          description: Number of included monitors
          example: 100
        overage:
          type: number
          description: Price per additional monitor in dollars
          example: 0.5
        log_retention:
          type: integer
          description: Number of days to retain logs
          example: 30
    Error:
      type: object
      description: Error response
      properties:
        code:
          type: integer
          description: HTTP status code
        error:
          oneOf:
            - type: string
              description: Error message
            - type: object
              description: Validation errors by field
              additionalProperties:
                type: string
        errors:
          type: object
          description: Field-specific validation errors
          additionalProperties:
            type: string
  responses:
    UnauthorizedError:
      description: Authentication is missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: 401
            error: Unauthorized
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API key used to authenticate yourself on DNSRadar. Obtain your API key
        from your DNSRadar dashboard.

````