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

# Select active business

> Activate a specific business workspace. Required after login when the user owns multiple businesses. Issues a new JWT with the selected business_id embedded.



## OpenAPI

````yaml /openapi.json post /api/v1/auth/select-business
openapi: 3.0.0
info:
  title: Dexxify API
  description: >-
    Crypto Infrastructure API for Africa (Wallets, Payouts, Offramp, Onramp,
    KYC, KYB)
  version: '1.0'
  contact:
    name: Dexxify
    url: https://www.dexxify.com
    email: dexxifyhq@gmail.com
servers: []
security: []
tags: []
paths:
  /api/v1/auth/select-business:
    post:
      tags:
        - Authentication
      summary: Select active business
      description: >-
        Activate a specific business workspace. Required after login when the
        user owns multiple businesses. Issues a new JWT with the selected
        business_id embedded.
      operationId: AuthController_selectBusiness
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelectBusinessDto'
      responses:
        '200':
          description: Business activated successfully.
        '400':
          description: Validation failed or the request body/params were malformed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
        '401':
          description: Missing, invalid, or expired authentication.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
        '403':
          description: Authenticated, but not permitted to perform this action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
components:
  schemas:
    SelectBusinessDto:
      type: object
      properties:
        business_id:
          type: string
          description: ID of the business workspace to activate
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - business_id
    ErrorResponseDto:
      type: object
      properties:
        success:
          type: boolean
          example: false
        status:
          type: number
          example: 400
        message:
          type: string
          example: Validation failed.
        errors:
          type: object
          example:
            - amount must not be less than 0
        timestamp:
          type: string
          example: '2026-09-17T12:00:00.000Z'
      required:
        - success
        - status
        - message
        - timestamp

````