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

# Get a card

> Returns a single card by its ID.



## OpenAPI

````yaml /openapi.yaml get /api/board/{boardId}/{cardId}
openapi: 3.0.3
info:
  title: Aptly API
  version: '1.0'
  description: >
    The Aptly API lets you read and write cards on any Aptly board from external
    systems.


    All requests require an API key passed as the `x-token` header.

    API keys are scoped to your company and work across all boards.
servers:
  - url: https://core-api.getaptly.com
    description: Production
security:
  - ApiKeyHeader: []
paths:
  /api/board/{boardId}/{cardId}:
    get:
      tags:
        - Cards
      summary: Get a card
      description: Returns a single card by its ID.
      operationId: getCard
      parameters:
        - name: boardId
          in: path
          required: true
          schema:
            type: string
        - name: cardId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Card data.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Card'
        '401':
          description: Invalid or missing API key.
        '403':
          description: API access is disabled for this board.
        '404':
          description: Card not found.
      security:
        - ApiKeyHeader: []
        - DelegateToken: []
components:
  schemas:
    Card:
      type: object
      properties:
        cardId:
          type: string
          description: Unique ID of the card.
        boardUuid:
          type: string
          description: UUID of the board this card belongs to.
        archived:
          type: boolean
        assignee:
          type: string
          description: Full name of the assigned user.
        lastActivity:
          type: object
          nullable: true
          description: >-
            Most recent conversation activity on the card (email, SMS or call),
            or null if the card has none.
          properties:
            content:
              type: string
              nullable: true
              description: Body/text preview of the most recent message.
            type:
              type: string
              nullable: true
              description: Activity type, e.g. `email`, `sms`, `voice`.
            direction:
              type: string
              nullable: true
              enum:
                - in
                - out
              description: Direction of the message — `in` (inbound) or `out` (outbound).
            publishedAt:
              type: string
              format: date-time
              nullable: true
            conversationUrl:
              type: string
              nullable: true
              description: >-
                Deep link to the conversation thread in Aptly. Null when the
                activity is not attached to a thread.
      additionalProperties:
        description: >-
          Additional properties are dynamic board fields keyed by their field
          UUID.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-token
    DelegateToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Delegate token issued by the platform. Format: `DelegateToken <token>`'

````