Twilee Docs

QR Code Resource

List All QR Codes

Endpoint

GET /qr_codes

Description
Retrieve a paginated list of all QR codes associated with your team.

Example Request

curl -X GET "https://api.twilee.com/qr_codes"   -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "@context": "/contexts/QrCode",
  "@id": "/qr_codes",
  "@type": "Collection",
  "totalItems": 1,
  "member": [
    {
      "@id": "/qr_codes/68cdbbe0ed096c7b590277c6",
      "@type": "QrCode",
      "id": "68cdbbe0ed096c7b590277c6",
      "name": "Redirects to https://twilee.com",
      "type": "url",
      "content": [],
      "shortToken": "frbORDRQ",
      "createdAt": "2025-09-19T20:23:59+00:00",
      "updatedAt": "2025-09-22T10:10:53+00:00",
      "foregroundColor": "#000000",
      "backgroundColor": "#ffffff",
      "labelSize": 16,
      "labelFont": "open_sans.ttf",
      "labelColor": "#000000",
      "logoSize": 20,
      "errorCorrectionLevel": "low"
    }
  ]
}

Pagination

GET /qr_codes?page=2

Retrieve a Single QR Code

Endpoint

GET /qr_codes/{id}

Example Request

curl -X GET "https://api.twilee.com/qr_codes/68cdbbe0ed096c7b590277c6"   -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "@context": "/contexts/QrCode",
  "@id": "/qr_codes/68cdbbe0ed096c7b590277c6",
  "@type": "QrCode",
  "id": "68cdbbe0ed096c7b590277c6",
  "name": "Redirects to https://twilee.com",
  "type": "url",
  "content": [],
  "shortToken": "frbORDRQ",
  "createdAt": "2025-09-19T20:23:59+00:00",
  "updatedAt": "2025-09-22T10:10:53+00:00",
  "foregroundColor": "#000000",
  "backgroundColor": "#ffffff",
  "labelSize": 16,
  "labelFont": "open_sans.ttf",
  "labelColor": "#000000",
  "logoSize": 20,
  "errorCorrectionLevel": "low"
}