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

# Check API connection

> Verify that the bearer token resolves to an active workspace.



## OpenAPI

````yaml /api-reference/openapi.json get /public/v1/is-connected
openapi: 3.0.0
info:
  title: PostlyBee Public API
  description: >-
    Create and manage social posts, upload media, and discover connected
    accounts with the PostlyBee Public API.
  version: 1.0.0
  contact:
    name: PostlyBee Support
    url: https://postlybee.com
    email: support@postlybee.com
  license:
    name: Proprietary
    url: https://postlybee.com/terms
servers:
  - url: https://api.postlybee.com
    description: Production
security: []
tags:
  - name: Posts
    description: Create, list, update, and delete social posts.
  - name: Media
    description: Upload media and use enabled video generators.
  - name: Accounts
    description: Discover connected social accounts.
  - name: Utilities
    description: Verify access and find posting slots.
paths:
  /public/v1/is-connected:
    get:
      tags:
        - Utilities
      summary: Check API connection
      description: Verify that the bearer token resolves to an active workspace.
      operationId: checkApiConnection
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiConnectionDto'
        '401':
          description: The bearer token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
      security:
        - public-api: []
components:
  schemas:
    PublicApiConnectionDto:
      type: object
      properties:
        connected:
          type: boolean
          example: true
      required:
        - connected
    PublicApiErrorDto:
      type: object
      properties:
        msg:
          type: string
          example: Invalid API key
      required:
        - msg
  securitySchemes:
    public-api:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Workspace API key from Settings → Public API.

````