# Retrieve account details.

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /account:
    get:
      summary: Retrieve account details.
      deprecated: false
      description: >-
        Fetches the account name if authorized, otherwise returns an
        unauthorized error.
      tags:
        - Account
        - Account
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{api-key}}
          schema:
            type: string
            default: Bearer {{api-key}}
      responses:
        '200':
          description: Successful response with account name.
          content:
            application/json:
              schema:
                type: object
                properties:
                  account:
                    type: object
                    properties:
                      name:
                        type: string
                        description: The name of the account.
                        examples:
                          - TendersAlerts
                      is_active:
                        type: boolean
                        description: Whether the account is active.
                        examples:
                          - true
                    required:
                      - name
                      - is_active
                    x-apidog-orders:
                      - name
                      - is_active
                required:
                  - account
                x-apidog-orders:
                  - account
          headers: {}
          x-apidog-name: OK
        '401':
          description: Unauthorized. The API key is missing or invalid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message.
                    examples:
                      - Unauthorized
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: Unauthorized
      security: []
      x-apidog-folder: Account
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/772525/apis/api-12818888-run
components:
  schemas: {}
  securitySchemes:
    Tenders Alerts:
      type: bearer
      scheme: bearer
    hmacSignature:
      type: apikey
      in: header
      name: X-Webhook-Signature
      description: >-
        HMAC SHA256 signature of the request body using your webhook secret.
        Format: sha256=<hash>
servers:
  - url: https://api.tendersalerts.com/api/integration
    description: Prod Env
security: []

```
