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

# Get an account

> **Required permission:** `publishing:accounts:read`



## OpenAPI

````yaml /api-reference/publishing.openapi.json get /{workspace}/accounts/{account}
openapi: 3.1.0
info:
  title: Publishing API
  version: 1.0.0
  description: >-
    Social accounts, posts, scheduling, approval, tags and media for one
    workspace.
servers:
  - url: https://{domain}/os/api
    description: Your platform domain
    variables:
      domain:
        default: app.example.com
        description: The domain you sign in to, without https://
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Diagnostics
  - name: Accounts
  - name: Posts
  - name: Media
  - name: Tags
paths:
  /{workspace}/accounts/{account}:
    get:
      tags:
        - Accounts
      summary: Get an account
      description: '**Required permission:** `publishing:accounts:read`'
      operationId: accounts.show
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Your workspace UUID. Must match the API key's workspace.
        - name: account
          in: path
          required: true
          schema:
            type: string
          description: Account UUID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
components:
  schemas:
    Account:
      type: object
      properties:
        id:
          type: integer
          description: Use this in a post's `accounts`.
        uuid:
          type: string
          format: uuid
        name:
          type: string
        username:
          type: string
        image:
          type: string
        provider:
          type: string
          example: instagram
        data:
          type: object
        authorized:
          type: boolean
        created_at:
          type: string
        published_at:
          type: string
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A workspace API key: `Authorization: Bearer osk_...`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: The same workspace API key in the `x-api-key` header.

````

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