Tweek API

Tweek API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI

Operations 9

GET /api/v1/calendars GET /api/v1/calendars #
GET /api/v1/custom-colors List custom colors #
POST /api/v1/oauth2/introspect Validate a token (RFC 7662) #
GET /api/v1/oauth2/jwks Signature public keys #
POST /api/v1/oauth2/revoke Revoke a refresh token #
POST /api/v1/oauth2/token POST /api/v1/oauth2/token #
GET /api/v1/tasks GET /api/v1/tasks #
POST /api/v1/tasks POST /api/v1/tasks #
GET /api/v1/tasks/{id} Get one task #

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/tweek-so:tweek-so-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

tweek-so-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Tweek API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 9 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Tweek has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 7
    documentation: 2
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://tweek.so/docs/api
servers:
- url: https://tweek.so
paths:
  /api/v1/calendars:
    get:
      operationId: get_api_v1_calendars
      tags:
      - Api
      summary: GET /api/v1/calendars
      x-source: https://tweek.so/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://tweek.so/api/v1/calendars  -H 'X-API-Key: YOUR_KEY' \n 2. Create a task in one of those calendars, on a date. "
  /api/v1/custom-colors:
    get:
      operationId: get_api_v1_custom_colors
      tags:
      - Api
      summary: List custom colors
      x-source: https://tweek.so/docs/api
      parameters:
      - name: calendarId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CustomColorsResponse'
      x-evidence:
        kind: documentation
  /api/v1/oauth2/introspect:
    post:
      operationId: post_api_v1_oauth2_introspect
      tags:
      - Api
      summary: Validate a token (RFC 7662)
      x-source: https://tweek.so/docs/api
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
        description: Token to introspect
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1Oauth2IntrospectResponse'
      x-evidence:
        kind: documentation
  /api/v1/oauth2/jwks:
    get:
      operationId: get_api_v1_oauth2_jwks
      tags:
      - Api
      summary: Signature public keys
      x-source: https://tweek.so/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/oauth2/revoke:
    post:
      operationId: post_api_v1_oauth2_revoke
      tags:
      - Api
      summary: Revoke a refresh token
      x-source: https://tweek.so/docs/api
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
        description: Refresh token to revoke
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/oauth2/token:
    post:
      operationId: post_api_v1_oauth2_token
      tags:
      - Api
      summary: POST /api/v1/oauth2/token
      x-source: https://tweek.so/docs/api
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1Oauth2TokenResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://tweek.so/api/v1/oauth2/token  -H 'Content-Type: application/x-www-form-urlencoded'  -d grant_type = authorization_code\
          \  -d code = AUTH_CODE  -d redirect_uri = https://your.app/callback  -d client_id = YOUR_CLIENT_ID  -d code_verifier = CODE_VERIFIER\
          \ \n {\n \"access_token\" : \"eyJhbGciOiJSUzI1Ni...\" ,\n \"token_type\" : \"Bearer\" ,\n \"expires_in\" : 3600,\n \"refresh_token\"\
          \ : \"...\" , //onl"
  /api/v1/tasks:
    get:
      operationId: get_api_v1_tasks
      tags:
      - Api
      summary: GET /api/v1/tasks
      x-source: https://tweek.so/docs/api
      parameters:
      - name: calendarId
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl 'https://tweek.so/api/v1/tasks?calendarId=CALENDAR_ID'  -H 'X-API-Key: YOUR_KEY' \n The response is paginated . Tasks are\
          \ in data ; nextDocId is the cursor for the next page ( null on the last one), and pageSize is set by the server. \n {\n \"data\" :\
          \ [ /* task objects */ ],\n \"pageSize\" : 100,\n \"nextDocId\" : \"TASK_ID\" \n} \n For the next page, pass that nextDocId back as\
          \ startAt , and repeat until n"
    post:
      operationId: post_api_v1_tasks
      tags:
      - Api
      summary: POST /api/v1/tasks
      x-source: https://tweek.so/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1TasksRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://tweek.so/api/v1/tasks  -H 'X-API-Key: YOUR_KEY'  -H 'Content-Type: application/json'  -d '{ \"calendarId\"\
          : \"CALENDAR_ID\", \"text\": \"Buy milk\", \"done\": false, \"date\": \"2026-07-10\" }' \n You get back { \"id\": \"...\" } . That's\
          \ a working integration — the rest of this page is the detail. \n Personal API key \n The quickest way in, for working with your own\
          \ account — a script, a Zapier o"
  /api/v1/tasks/{id}:
    get:
      operationId: get_api_v1_tasks_id
      tags:
      - Api
      summary: Get one task
      x-source: https://tweek.so/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1TasksIdResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1CustomColorsResponse:
      type: object
      properties:
        id:
          type: string
        color:
          type: string
        backgroundColor:
          type: string
    PostApiV1Oauth2IntrospectResponse:
      type: object
      properties:
        active:
          type: boolean
        '...':
          type: string
          description: Other token claims when active
    PostApiV1Oauth2TokenResponse:
      type: object
      properties:
        active:
          type: boolean
    PostApiV1TasksRequest:
      type: object
      properties:
        calendarId:
          type: string
        text:
          type: string
        done:
          type: boolean
        date:
          type: string
          format: date
    GetApiV1TasksIdResponse:
      type: object
      properties:
        id:
          type: string
        calendarId:
          type: string
        text:
          type: string
        done:
          type: boolean
        date:
          type: string
          description: YYYY-MM-DD or null
        listId:
          type: string
          description: Someday list id or null
        '...':
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
security:
- apiKey: []
tags:
- name: Api