Reclaim.ai smart-habit-custom-templates API

The smart-habit-custom-templates API from Reclaim.ai — 4 operation(s) for smart-habit-custom-templates.

Operations 7

GET /api/templates/smart-habit #
POST /api/templates/smart-habit #
GET /api/templates/smart-habit/{templateId} #
DELETE /api/templates/smart-habit/{templateId} #
PATCH /api/templates/smart-habit/{templateId} #
PUT /api/templates/smart-habit/{templateId}/disable #
PUT /api/templates/smart-habit/{templateId}/enable #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reclaim-ai-smart-habit-custom-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reclaim-ai-smart-habit-custom-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reclaim account-time-schemes Smart Habit Custom Templates API
  description: Reclaim's awesome API
  contact:
    name: Reclaim.ai Inc.
    url: http://reclaim.ai
    email: info@reclaim.ai
  license:
    name: Reclaim 9.9
    url: http://reclaim.ai
  version: '0.1'
servers:
- url: https://api.app.reclaim.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: smart-habit-custom-templates
paths:
  /api/templates/smart-habit:
    get:
      tags:
      - smart-habit-custom-templates
      operationId: findAllHabitTemplates
      responses:
        '200':
          description: findAllHabitTemplates 200 response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SmartHabitCustomTemplateView'
      security:
      - Authorization: []
    post:
      tags:
      - smart-habit-custom-templates
      operationId: createHabitTemplate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSmartHabitCustomTemplateRequest'
        required: true
      responses:
        '200':
          description: createHabitTemplate 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmartHabitCustomTemplateView'
      security:
      - Authorization: []
  /api/templates/smart-habit/{templateId}:
    get:
      tags:
      - smart-habit-custom-templates
      operationId: findHabitTemplateById
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: findHabitTemplateById 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmartHabitCustomTemplateView'
      security:
      - Authorization: []
    delete:
      tags:
      - smart-habit-custom-templates
      operationId: deleteHabitTemplate
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: deleteHabitTemplate 200 response
          content:
            application/json:
              schema:
                type: object
      security:
      - Authorization: []
    patch:
      tags:
      - smart-habit-custom-templates
      operationId: updateHabitTemplate
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchSmartHabitCustomTemplateRequest'
        required: true
      responses:
        '200':
          description: updateHabitTemplate 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmartHabitCustomTemplateView'
      security:
      - Authorization: []
  /api/templates/smart-habit/{templateId}/disable:
    put:
      tags:
      - smart-habit-custom-templates
      operationId: disableHabitTemplate
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: disableHabitTemplate 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmartHabitCustomTemplateView'
      security:
      - Authorization: []
  /api/templates/smart-habit/{templateId}/enable:
    put:
      tags:
      - smart-habit-custom-templates
      operationId: enableHabitTemplate
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: enableHabitTemplate 200 response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmartHabitCustomTemplateView'
      security:
      - Authorization: []
components:
  schemas:
    DefenseAggression:
      type: string
      enum:
      - NONE
      - LOW
      - DEFAULT
      - HIGH
      - MAX
    SmartHabitCustomTemplateView:
      required:
      - defendedDescription
      - defenseAggression
      - description
      - durationMaxMins
      - durationMinMins
      - enabled
      - entityType
      - eventType
      - id
      - idealTime
      - priority
      - recurrence
      - reservedWords
      - timePolicyType
      - title
      - visibility
      type: object
      properties:
        id:
          type: integer
          format: int64
        title:
          type: string
        recurrence:
          $ref: '#/components/schemas/RecurrenceDefinition'
        priority:
          $ref: '#/components/schemas/PriorityLevel'
        eventType:
          $ref: '#/components/schemas/SmartSeriesEventType'
        color:
          allOf:
          - $ref: '#/components/schemas/EventColor'
        timePolicyType:
          $ref: '#/components/schemas/TimePolicyType'
        oneOffPolicy:
          allOf:
          - $ref: '#/components/schemas/TimePolicy'
        starting:
          type:
          - string
          - 'null'
          format: date
        ending:
          type:
          - string
          - 'null'
          format: date
        idealTime:
          type: string
          format: partial-time
        durationMinMins:
          type: integer
          format: int32
        durationMaxMins:
          type: integer
          format: int32
        failurePolicy:
          allOf:
          - $ref: '#/components/schemas/SmartSeriesBookingFailurePolicy'
        visibility:
          $ref: '#/components/schemas/SmartSeriesVisibility'
        defenseAggression:
          $ref: '#/components/schemas/DefenseAggression'
        defendedDescription:
          type: string
        enabled:
          type: boolean
        reservedWords:
          type: array
          items:
            type: string
        description:
          type: string
        entityType:
          $ref: '#/components/schemas/EntityTypeView'
    EntityTypeView:
      required:
      - access
      type: object
      properties:
        access:
          $ref: '#/components/schemas/EntityTypeAccessView'
    PriorityLevel:
      type: string
      enum:
      - P1
      - P2
      - P3
      - P4
      - PRIORITIZE
      - DEFAULT
      x-deprecated:
      - PRIORITIZE
      - DEFAULT
    EventColor:
      type: string
      enum:
      - NONE
      - LAVENDER
      - SAGE
      - GRAPE
      - FLAMINGO
      - BANANA
      - TANGERINE
      - PEACOCK
      - GRAPHITE
      - BLUEBERRY
      - BASIL
      - TOMATO
    CreateSmartHabitCustomTemplateRequest:
      required:
      - defenseAggression
      - durationMaxMins
      - durationMinMins
      - eventType
      - idealTime
      - priority
      - recurrence
      - timePolicyType
      - title
      type: object
      properties:
        title:
          minLength: 1
          type: string
        priority:
          $ref: '#/components/schemas/PriorityLevel'
        eventType:
          $ref: '#/components/schemas/SmartSeriesEventType'
        color:
          $ref: '#/components/schemas/EventColor'
        timePolicyType:
          $ref: '#/components/schemas/TimePolicyType'
        oneOffPolicy:
          $ref: '#/components/schemas/TimePolicy'
        recurrence:
          $ref: '#/components/schemas/RecurrenceDefinition'
        starting:
          type: string
          format: date
        ending:
          type: string
          format: date
        idealTime:
          type: string
          format: partial-time
        durationMinMins:
          type: integer
          format: int32
        durationMaxMins:
          type: integer
          format: int32
        defenseAggression:
          $ref: '#/components/schemas/DefenseAggression'
        defendedDescription:
          type: string
        visibility:
          $ref: '#/components/schemas/SmartSeriesVisibility'
        failurePolicy:
          $ref: '#/components/schemas/SmartSeriesBookingFailurePolicy'
        reservedWords:
          type: array
          items:
            type: string
        description:
          type: string
    EntityType:
      type: string
      enum:
      - ACCOUNT_INVITATION
      - ACCOUNT_TIME_SCHEMES
      - WEBHOOKS_CONFIG
      - WEBHOOKS_ASSOCIATION
      - SMART_HABIT_TEMPLATES
      - TEAM
    RecurrenceDefinition:
      required:
      - frequency
      type: object
      properties:
        interval:
          type: integer
          format: int32
        frequency:
          $ref: '#/components/schemas/Frequency'
        idealDays:
          type: array
          items:
            $ref: '#/components/schemas/DayOfWeek'
        idealMonthlyDay:
          $ref: '#/components/schemas/IdealMonthlyDay'
        daysBetweenPeriods:
          type: integer
          format: int32
          readOnly: true
    EntityTypeAccessView:
      required:
      - permissions
      type: object
      properties:
        permissions:
          $ref: '#/components/schemas/EntityTypePermissionsView'
    EntityTypePermissionsView:
      required:
      - permissions
      - type
      type: object
      properties:
        type:
          $ref: '#/components/schemas/EntityType'
        permissions:
          $ref: '#/components/schemas/EntityTypePermissions'
    SmartSeriesBookingFailurePolicy:
      type: string
      enum:
      - REMOVE
      - LEAVE_LAST
      - LEAVE_LAST_OR_RETURN_TO_ORIGINAL
    EntityTypePermissions:
      required:
      - canCreate
      - canView
      type: object
      properties:
        canView:
          type: boolean
        canCreate:
          type: boolean
    DayOfWeek:
      type: string
      enum:
      - MONDAY
      - TUESDAY
      - WEDNESDAY
      - THURSDAY
      - FRIDAY
      - SATURDAY
      - SUNDAY
    SmartSeriesEventType:
      type: string
      enum:
      - FOCUS
      - SOLO_WORK
      - PERSONAL
      - TEAM_MEETING
      - EXTERNAL_MEETING
      - ONE_ON_ONE
      x-deprecated:
      - FOCUS
    TimePolicy:
      required:
      - dayHours
      type: object
      properties:
        startOfWeek:
          $ref: '#/components/schemas/DayOfWeek'
        endOfWeek:
          $ref: '#/components/schemas/DayOfWeek'
        dayHours:
          properties:
            MONDAY:
              $ref: '#/components/schemas/DayHours'
            TUESDAY:
              $ref: '#/components/schemas/DayHours'
            WEDNESDAY:
              $ref: '#/components/schemas/DayHours'
            THURSDAY:
              $ref: '#/components/schemas/DayHours'
            FRIDAY:
              $ref: '#/components/schemas/DayHours'
            SATURDAY:
              $ref: '#/components/schemas/DayHours'
            SUNDAY:
              $ref: '#/components/schemas/DayHours'
    PatchSmartHabitCustomTemplateRequest:
      type: object
      properties:
        title:
          type: string
        priority:
          $ref: '#/components/schemas/PriorityLevel'
        eventType:
          $ref: '#/components/schemas/SmartSeriesEventType'
        color:
          allOf:
          - $ref: '#/components/schemas/EventColor'
        timePolicyType:
          $ref: '#/components/schemas/TimePolicyType'
        oneOffPolicy:
          allOf:
          - $ref: '#/components/schemas/TimePolicy'
        recurrence:
          $ref: '#/components/schemas/RecurrenceDefinition'
        starting:
          type:
          - string
          - 'null'
          format: date
        ending:
          type:
          - string
          - 'null'
          format: date
        idealTime:
          type: string
          format: partial-time
        durationMinMins:
          type: integer
          format: int32
        durationMaxMins:
          type: integer
          format: int32
        defenseAggression:
          $ref: '#/components/schemas/DefenseAggression'
        defendedDescription:
          type:
          - string
          - 'null'
        visibility:
          $ref: '#/components/schemas/SmartSeriesVisibility'
        failurePolicy:
          $ref: '#/components/schemas/SmartSeriesBookingFailurePolicy'
        reservedWords:
          type: array
          items:
            type: string
        description:
          type: string
    LocalTimeInterval:
      required:
      - end
      - start
      type: object
      properties:
        start:
          type: string
          format: partial-time
        end:
          type: string
          format: partial-time
        duration:
          type: string
    IdealMonthlyDay:
      type: object
      properties:
        idealDayOfMonth:
          type: integer
          format: int32
        idealDayOfWeek:
          $ref: '#/components/schemas/DayOfWeek'
        idealWeek:
          type: integer
          format: int32
    SmartSeriesVisibility:
      type: string
      enum:
      - DEFAULT
      - PRIVATE
      - PUBLIC
    TimePolicyType:
      type: string
      enum:
      - WORK
      - PERSONAL
      - MEETING
      - ONE_OFF
      - INHERITED
      - CUSTOM
    Frequency:
      type: string
      enum:
      - DAILY
      - WEEKLY
      - MONTHLY
    DayHours:
      required:
      - intervals
      type: object
      properties:
        intervals:
          type: array
          items:
            $ref: '#/components/schemas/LocalTimeInterval'
        startOfDay:
          type:
          - string
          - 'null'
          format: partial-time
        endOfDay:
          type:
          - string
          - 'null'
          format: partial-time
  securitySchemes:
    Authorization:
      type: oauth2