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

# List linkedin accounts

> The connected LinkedIn accounts and whether each one can send right now: status, how much of the daily message and connection budget is used, weekly activity, and whether sending is paused after repeated failures.



## OpenAPI

````yaml /api-reference/openapi.json get /linkedin-accounts
openapi: 3.1.0
info:
  title: LeadBeast API
  version: v1
  description: >-
    One workspace per API key. Send the key as `Authorization: Bearer lb_...`;
    each key carries `resource:read` / `resource:write` scopes. Every response
    is either `{"data": ..., "meta": ...}` or `{"error": ..., "meta": ...}`, and
    `X-Request-Id` on the response identifies the call in support. Write calls
    accept an `Idempotency-Key` header: repeating a call with the same key
    replays the original result instead of acting again. The same tools are
    available to AI clients over MCP at https://app.leadbeast.io/mcp.
servers:
  - url: https://app.leadbeast.io/api/v1
security:
  - bearer: []
tags:
  - name: business
  - name: leads
  - name: campaigns
  - name: inbox
paths:
  /linkedin-accounts:
    get:
      tags:
        - business
      summary: List linkedin accounts
      description: >-
        The connected LinkedIn accounts and whether each one can send right now:
        status, how much of the daily message and connection budget is used,
        weekly activity, and whether sending is paused after repeated failures.
      operationId: list-linkedin-accounts
      parameters:
        - name: status
          in: query
          required: false
          description: Only return accounts with this status.
          schema:
            enum:
              - active
              - warming_up
              - restricted
              - banned
              - disconnected
              - paused
            type: string
      responses:
        '200':
          description: The call ran. Read `data.status` for what happened.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    properties:
                      status:
                        type: string
                        enum:
                          - completed
                          - queued
                          - processing
                          - partially_completed
                          - failed_temporary
                          - failed_permanent
                          - provider_unavailable
                          - rate_limited
                          - action_required
                        description: >-
                          What happened, machine-readable. Trust it over the
                          prose.
                      items:
                        items:
                          properties:
                            id:
                              description: The linkedin_account_id create-campaign takes.
                              type: string
                            name:
                              type:
                                - string
                                - 'null'
                            status:
                              enum:
                                - active
                                - warming_up
                                - restricted
                                - banned
                                - disconnected
                                - paused
                              type: string
                            can_send:
                              description: Whether the account can send right now.
                              type: boolean
                            daily:
                              description: Today's use of the daily budget.
                              properties:
                                messages_sent:
                                  type: integer
                                message_limit:
                                  type: integer
                                connections_sent:
                                  type: integer
                                connection_limit:
                                  type: integer
                              type: object
                              required:
                                - messages_sent
                                - message_limit
                                - connections_sent
                                - connection_limit
                            weekly:
                              description: >-
                                This week's invitations, messages and
                                profileVisits, each with used, limit and
                                remaining.
                              type:
                                - object
                                - 'null'
                            circuit_open:
                              description: >-
                                True while sending is paused after repeated
                                failures.
                              type: boolean
                            last_active_at:
                              type:
                                - string
                                - 'null'
                          type: object
                          required:
                            - id
                            - name
                            - status
                            - can_send
                            - daily
                            - weekly
                            - circuit_open
                            - last_active_at
                        type: array
                      total:
                        type: integer
                    type: object
                    required:
                      - status
                      - items
                      - total
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                  - data
                  - meta
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/ActionRequired'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Meta:
      type: object
      properties:
        request_id:
          type: string
        replayed:
          type: boolean
      required:
        - request_id
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: string
              enum:
                - completed
                - queued
                - processing
                - partially_completed
                - failed_temporary
                - failed_permanent
                - provider_unavailable
                - rate_limited
                - action_required
            reason_code:
              type:
                - string
                - 'null'
            message:
              type: string
          required:
            - status
            - message
        meta:
          $ref: '#/components/schemas/Meta'
      required:
        - error
        - meta
  responses:
    Unauthenticated:
      description: The API key is missing, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    SubscriptionRequired:
      description: The workspace has no active subscription.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the scope, or the plan lacks API access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such record in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ActionRequired:
      description: The request was understood but cannot run in the current state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationFailed:
      description: One or more arguments are invalid; see `error.errors`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests. Wait for `Retry-After` seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: A dependency failed. The call is safe to retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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