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

# Get Organization

> The organization your API key belongs to, with the configuration that governs the rest of the API: which channels are enabled, the number candidates see, the phone regions accepted on candidate creation, your rate limit, and whether webhooks are configured and signed. Call this first to verify a key.



## OpenAPI

````yaml GET /v2/organization
openapi: 3.1.0
info:
  title: Classet API
  version: 2.0.3
  description: >-
    AI-powered recruiting and phone screening API.


    **API key scopes.** `read` covers every GET; any other method needs `write`
    (403 `insufficient_scope`); starting or stopping an interview also needs
    `interviews:send`. A branch-limited key sees and writes only jobs in its
    branches (not jobs with no branch) and their candidates, applications and
    calls; anything outside is a 404. An organization-group key is read-only
    across every organization in its group. Branch-limited and group keys cannot
    use organization configuration (scripts, knowledge, webhooks, message
    automations, agent settings, AI generation, organization): 403
    `restricted_key_unsupported`. `GET /v2/me` reports what the calling key can
    do.
servers:
  - url: https://api.classet.ai
    description: Production
  - url: http://localhost:8081
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /v2/organization:
    get:
      tags:
        - Organization
      summary: Get your organization
      description: >-
        The organization your API key belongs to, with the configuration that
        governs the rest of the API: which channels are enabled, the number
        candidates see, the phone regions accepted on candidate creation, your
        rate limit, and whether webhooks are configured and signed. Call this
        first to verify a key.
      responses:
        '200':
          description: Your organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Organization'
                required:
                  - data
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Organization:
      type: object
      properties:
        id:
          type: string
          example: 7e7c5180-3326-496e-ad83-0cab8da44b9a
        name:
          type: string
          example: Acme Staffing
        account_type:
          type: string
          nullable: true
        domain:
          type: string
          nullable: true
        careers_page_url:
          type: string
          nullable: true
        branch_count:
          type: integer
          description: >-
            Active branches. Greater than zero means jobs and users are
            branch-scoped — see GET /v2/branches.
        capabilities:
          $ref: '#/components/schemas/OrganizationCapabilities'
        voice:
          $ref: '#/components/schemas/OrganizationVoice'
        limits:
          $ref: '#/components/schemas/OrganizationLimits'
        webhooks:
          $ref: '#/components/schemas/OrganizationWebhooks'
        api_version:
          type: string
          example: 2.0.0
      required:
        - id
        - name
        - account_type
        - domain
        - careers_page_url
        - branch_count
        - capabilities
        - voice
        - limits
        - webhooks
        - api_version
      description: The caller's organization and its configuration
    OrganizationCapabilities:
      type: object
      properties:
        candidate_messaging:
          type: boolean
          description: >-
            Two-way SMS/email with candidates is available in the UI for this
            org.
        interview_scheduling:
          type: boolean
        instant_interview:
          type: boolean
          description: >-
            Candidates can start a screen immediately on applying, rather than
            waiting for outreach.
        campaigns:
          type: boolean
        careers_page:
          type: boolean
        indeed:
          type: boolean
        multi_language:
          type: boolean
          description: >-
            Calls use language detection and a single callback number. See
            `voice.languages`.
        call_recording:
          type: boolean
      required:
        - candidate_messaging
        - interview_scheduling
        - instant_interview
        - campaigns
        - careers_page
        - indeed
        - multi_language
        - call_recording
    OrganizationVoice:
      type: object
      properties:
        agent_name:
          type: string
          nullable: true
          example: Joy
        phone_number:
          type: string
          nullable: true
          example: '+15555555555'
          description: The number candidates are called from and can call back on.
        languages:
          type: array
          items:
            type: string
          example:
            - en
            - es
          description: >-
            Languages this org has an agent configured for. An empty list means
            English only.
      required:
        - agent_name
        - phone_number
        - languages
    OrganizationLimits:
      type: object
      properties:
        rate_limit_sustained:
          type: integer
          nullable: true
          description: >-
            Sustained requests per minute for this org. Null means the platform
            default applies.
        rate_limit_burst:
          type: integer
          nullable: true
        daily_interview_invite_cap:
          type: integer
          nullable: true
          description: Maximum interview invitations per day. Null means uncapped.
        monthly_interview_invite_cap:
          type: integer
          nullable: true
        allowed_phone_regions:
          type: array
          items:
            type: string
          example:
            - US
            - CA
          description: >-
            ISO country codes this org accepts candidate phone numbers from. A
            number outside this list is rejected at candidate creation. Empty
            means no restriction is configured.
      required:
        - rate_limit_sustained
        - rate_limit_burst
        - daily_interview_invite_cap
        - monthly_interview_invite_cap
        - allowed_phone_regions
    OrganizationWebhooks:
      type: object
      properties:
        event_webhook_url_configured:
          type: boolean
        results_webhook_url_configured:
          type: boolean
        has_signing_secret:
          type: boolean
          description: >-
            Whether deliveries are signed. Verify signatures — see GET
            /v2/webhooks.
        available_events:
          type: array
          items:
            type: string
          description: >-
            Every event type this API can deliver. All of them go to the
            configured event webhook URL; there is no per-event subscription.
      required:
        - event_webhook_url_configured
        - results_webhook_url_configured
        - has_signing_secret
        - available_events
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your Classet API key. Create and rotate keys in Settings → API.

````

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