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

# Get Contact

> Retrieve a contact by its id

Retrieve a contact by its UUID. A contact in a workspace your key does not cover returns a `404`.


## OpenAPI

````yaml GET /contacts/{id}
openapi: 3.0.0
info:
  title: Penbox API
  version: '1.0'
  description: >-
    The Penbox API provides programmatic access to Penbox's form management,
    case management, and document processing capabilities. Authenticate using
    Bearer tokens created at https://app.penbox.io/workspace/settings/api
servers:
  - url: https://connect.penbox.io/v1
    description: Production
security:
  - BearerAuth: []
paths:
  /contacts/{id}:
    parameters:
      - name: id
        in: path
        required: true
        description: Contact UUID
        schema:
          type: string
          format: uuid
    get:
      summary: Get Contact
      description: Retrieve a contact by its UUID.
      operationId: get-contact
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '404':
          description: Contact not found, or in a workspace your key does not cover
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Contact:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Contact UUID
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Last update timestamp
        email:
          type: string
          format: email
          description: Email address. Trimmed and lowercased.
          nullable: true
        given_name:
          type: string
          nullable: true
          description: First name
        family_name:
          type: string
          nullable: true
          description: Last name
        company_name:
          type: string
          description: Company the contact belongs to
          nullable: true
        internal_ref:
          type: string
          description: Your own reference for the contact, such as its id in your CRM
          nullable: true
        phone:
          type: string
          description: Phone number, international format preferred
          nullable: true
        locale:
          type: string
          description: Language Penbox addresses the contact in
          nullable: true
        workspace:
          type: object
          description: Workspace the contact belongs to
          properties:
            id:
              type: string
              format: uuid
    Error:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              status:
                type: string
              title:
                type: string
              detail:
                type: string
              source:
                type: object
                properties:
                  pointer:
                    type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: token
      description: >-
        API token (starts with pnbx_). Create at
        https://app.penbox.io/workspace/settings/api. Include as: Authorization:
        Bearer {token}

````

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