Docs / Connect it
Connect a phone
Check text from your iPhone or Android phone with one tap.
Use a key just for the phoneA key saved on a phone can be read by anyone who has the phone unlocked. Create a separate key for each phone and label it (for example
Ada iPhone). If the phone is lost, revoke that one key.iPhone and iPad (Shortcuts app)
- Create a shortcutOpen Shortcuts, tap +, name it Check claim. In the shortcut's settings turn on Show in Share Sheet and set it to accept Text.
- Send the textAdd the action Get Contents of URL. URL:
https://api.chatniai.com/v1/check. Tap Show More: Method POST. Headers:Authorization=Bearer pij_live_YOUR_KEY. Request Body: JSON. Add a Text fieldtextset to Shortcut Input, and a Boolean fieldasyncset to on. - Get the job IDAdd Get Dictionary Value for the key
job_idfrom the previous result. Add Set Variable namedjob. - Wait and askAdd Repeat 12 times. Inside: Wait 15 seconds, then Get Contents of URL with URL
https://api.chatniai.com/v1/job/followed by thejobvariable, same Authorization header, method GET. Then Get Dictionary Value forstate. Add If state is done with Stop this shortcut after showing the result. - Show the answerAfter the loop, take Dictionary Value
result, thenclaims, then the first item and show theverdictandsummaryin a Show Result action. - Use itIn Safari, Notes or WhatsApp, select text, tap Share, then Check claim.
Android
Android has no built-in shortcut tool of this kind. The free, open-source HTTP Shortcuts app does it well (install it from Google Play or F-Droid).
- Create a shortcutOpen HTTP Shortcuts and tap +, then Regular Shortcut. Name it Check claim.
- Set the requestMethod POST, URL
https://api.chatniai.com/v1/check. Under Headers addAuthorization=Bearer pij_live_YOUR_KEY. Under Request Body choose Custom text, typeapplication/json, and enter{"text": "(insert the claim variable here)", "async": true}. - Ask for the textCreate a variable named
claimof type Text, and tick Ask each time (or use Share so you can share text from other apps). - Show the job IDUnder Response Handling choose Show dialog. Copy the job ID.
- Collect the resultMake a second shortcut: method GET, URL
https://api.chatniai.com/v1/job/followed by thejobidvariable, same header, with a variablejobidyou type or paste. Wait 1 to 3 minutes, then run it.
Without a shortcut
If setting this up feels like too much, ask your owner to run the checks in a spreadsheet (Google Sheets) or to connect a no-code tool (Zapier, Make, n8n) so your team uses a form or a chat message instead.