GET STARTED WITH THE FIVECLOSE PARTNER API
Pack from Nightingaley, nightingaley.com/apps/partner-api/guide/
Made 1 December 2026. The guide in this pack was checked against the product's own public pages on that date.

WHAT IS IN HERE
- partner-api-guide.pdf: the guide to the FiveClose Partner API.
- examples/ok.sh: curl. Checks a key, then sends one I'm OK.
- examples/ok.mjs: Node.js 18 or newer, no dependencies. Sends one I'm OK and handles the errors.

NO REAL KEY OR PERSON IS INCLUDED
The person makes the key in FiveClose (You, Safety, More safety settings, Connected devices and services) and gives it to your service. Put it in the FIVECLOSE_KEY environment variable. Never put a key in a web address, a log or an app you ship.

RUNNING
  FIVECLOSE_KEY=fco_your_key sh examples/ok.sh
  FIVECLOSE_KEY=fco_your_key node examples/ok.mjs

WHAT THE ANSWERS MEAN (from the public documentation on GitHub: github.com/joeyttk2001/fiveclose-ok-api)
- 401: the key is missing, mistyped or was removed. Stop sending with it and ask the person to connect again. Do not retry.
- 429: over the limit of 60 calls per key per hour. Wait for the number of seconds in Retry-After.
- 5xx: try again later, with a pause that grows.
The full documentation, an OpenAPI specification and more examples are in that repository. FiveClose is not an emergency service.


Made by Nightingale Pte. Ltd., Singapore. Questions: info@nightingaley.com
