Base URL: https://ashleyhindle.com/focusanchor/api
Header: X-Focus-Key: focusKeyGoesHere
Method: GET
Endpoint: /get
Returns JSON:
"Focus goes here"
Method: POST
Endpoint: /set
Post Data:
commitment=Focus Goes Here
Returns JSON:
"Focus goes here"
You'll need your focusKey
from the Sync page to use the API.
Sign up to be in the know
Coming soon: Browser extensions, configurable nudges, Alexa, mobile app, mobile app widgets and integrations.Unsubscribe whenever you fancy.