Skip to content

Paste payload

For people who want a record they can write with their own tool. Start with Getting started. A QR of the same URL is qr.

GET /v1/fold builds a payload and stops. It does not write an NFC tag, call Home Assistant, or fetch the URL.

kind You get
nfc The URI, plus ndef_hex for a short NDEF URI record
ha JSON { event, source } to paste into an automation. Pass event
shortcut An https URL for a Shortcut “Get Contents of URL” action

Try it

https://fetch.li/v1/fold?kind=nfc&url=https://fetch.li

Parameters

Parameter Required Description
kind Yes nfc, ha, or shortcut
url For nfc and shortcut http(s) URL, up to 180 characters. Shortcut requires https
event For ha Letters, numbers, hyphens, underscores

Demo

GET endpoints work without an API key on the public demo tier (60 calls per hour per IP).

Related: QR, security, style.

Try it

GET https://fetch.li/v1/fold


    
    
    
  

Answer

Response

response