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

# Reopen a closed organization (owner only)

> Reopens a closed organization whose Stripe subscription is still alive (scheduled to cancel at period end): the scheduled cancellation is removed and the organization becomes writable again. API keys and webhooks stay deactivated until the owner reactivates them. If there is no live subscription, responds 409 REOPEN_REQUIRES_CHECKOUT: subscribe to a plan to reopen.



## OpenAPI

````yaml https://api.timbrix.mx/api/openapi.json post /organizations/{id}/reopen
openapi: 3.0.0
info:
  title: Timbrix API
  description: >-
    API de facturación electrónica CFDI 4.0 para México, con servidor OAuth2
    para gestionar organizaciones, miembros y webhooks. Compatible con agentes
    de IA — ver la extensión `x-ai-agent-friendly` en la raíz de esta spec.


    REST API with OAuth2 server for managing organizations, members, and
    webhooks.
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: organizations
    description: Organization management endpoints
  - name: oauth
    description: OAuth2 authentication and authorization
  - name: webhooks
    description: Webhook configuration and delivery
  - name: users
    description: User information endpoints
  - name: api-keys
    description: API Keys management and validation
  - name: request-logs
    description: API request log
paths:
  /organizations/{id}/reopen:
    post:
      tags:
        - organizations
      summary: Reopen a closed organization (owner only)
      description: >-
        Reopens a closed organization whose Stripe subscription is still alive
        (scheduled to cancel at period end): the scheduled cancellation is
        removed and the organization becomes writable again. API keys and
        webhooks stay deactivated until the owner reactivates them. If there is
        no live subscription, responds 409 REOPEN_REQUIRES_CHECKOUT: subscribe
        to a plan to reopen.
      operationId: OrganizationsController_reopen
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Organization reopened.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReopenOrganizationResponseDto'
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only the organization owner can reopen it.
        '404':
          description: Organization not found with the provided ID.
        '409':
          description: >-
            REOPEN_REQUIRES_CHECKOUT: no live subscription, a new plan is
            required. CONFLICT: the organization is not closed.
      security:
        - bearer: []
components:
  schemas:
    ReopenOrganizationResponseDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - reopened
          example: reopened
      required:
        - status
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

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