External API (Zapier/n8n)

Complete a habit by name and routine name

post/external/v1/habit/complete

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

habit_namestring required

Name of the habit to complete

routine_namestring

Name of the routine containing the habit (e.g., "morning", "evening", "break")

duration_secondsnumber

Duration in seconds (default: activity duration or 60)

Response

Habit completed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.