---
updatedAt: 2025-08-11T18:18:17.000Z
agentTools:
  projectIndex: https://docs.keycafe.com/llms.txt
---

# Retrieve Fob

Retrieve data for a single fob with a GET request to the endpoint with a code.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Keycafe API",
    "version": "0"
  },
  "x-explorer-enabled": true,
  "x-proxy-enabled": true,
  "x-samples-languages": [
    "shell",
    "python",
    "go"
  ],
  "servers": [
    {
      "url": "https://www.keycafe.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "BasicAuth": []
    }
  ],
  "paths": {
    "/v0/fob/code/{fob_code}": {
      "get": {
        "tags": [
          "Fob"
        ],
        "summary": "Retrieve Fob",
        "description": "Retrieve data for a single fob with a GET request to the endpoint with a code.",
        "operationId": "retrieve-fob",
        "parameters": [
          {
            "name": "fob_code",
            "in": "path",
            "required": true,
            "description": "QR code value associated with the fob",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Fob details retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "serialNumber": {
                      "type": "string",
                      "description": "Unique serial number assigned to the fob.",
                      "example": "XXXXX"
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": "{\n    \"serialNumber\": \"XXXXX\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```