UserTold.ai Linear API

The Linear API from UserTold.ai, for linear.

GitHub OpenAPI

Operations 8

GET /api/orgs/{orgHandle}/linear/connect Linear Connect #
GET /api/orgs/{orgHandle}/linear/claim Linear Claim #
GET /api/linear/callback Linear Callback #
GET /api/orgs/{orgHandle}/linear/connection Linear Connection Status #
DELETE /api/orgs/{orgHandle}/linear/connection Linear Disconnect #
GET /api/orgs/{orgHandle}/projects/{projectHandle}/linear/teams Linear Teams #
POST /api/orgs/{orgHandle}/projects/{projectHandle}/linear/select-team Linear Select Team #
GET /api/orgs/{orgHandle}/linear/webhook/status Linear Webhook Status #

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/usertold-ai:usertold-ai-linear-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

usertold-ai-linear-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UserTold.ai Linear API
  version: 1.0.0
  description: The /api/... routes are stable major version 1 without a version-selection header. Backward-compatible additions remain in v1; breaking changes require /api/v2. Before removal, migration guidance and Deprecation plus Link rel=deprecation are published; scheduled removal includes Sunset at least 90 days ahead. No REST route is currently deprecated.
tags:
- name: Linear
paths:
  /api/orgs/{orgHandle}/linear/connect:
    get:
      operationId: linearConnect
      summary: Linear Connect
      description: Execute the UserTold linear connect operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
        required: false
        name: return_to
        in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema: {}
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/linear/claim:
    get:
      operationId: linearClaim
      summary: Linear Claim
      description: Execute the UserTold linear claim operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
        required: false
        name: return_to
        in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema: {}
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/linear/callback:
    get:
      operationId: linearCallback
      summary: Linear Callback
      description: Execute the UserTold linear callback operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
        required: false
        name: code
        in: query
      - schema:
          type: string
        required: false
        name: state
        in: query
      - schema:
          type: string
        required: false
        name: error
        in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema: {}
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/linear/connection:
    get:
      operationId: linearConnectionStatus
      summary: Linear Connection Status
      description: Execute the UserTold linear connection status operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  connected:
                    type: boolean
                  workspaceName:
                    type: string
                  workspaceUrlKey:
                    type: string
                  status:
                    type: string
                required:
                - connected
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
    delete:
      operationId: linearDisconnect
      summary: Linear Disconnect
      description: Execute the UserTold linear disconnect operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  unlinkedOrg:
                    type: boolean
                  revokedInstallation:
                    type: boolean
                  remainingActiveOrgLinks:
                    type: integer
                    minimum: 0
                required:
                - success
                - unlinkedOrg
                - revokedInstallation
                - remainingActiveOrgLinks
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/projects/{projectHandle}/linear/teams:
    get:
      operationId: linearTeams
      summary: Linear Teams
      description: Execute the UserTold linear teams operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  teams:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        key:
                          type: string
                      required:
                      - id
                      - name
                      - key
                required:
                - teams
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/projects/{projectHandle}/linear/select-team:
    post:
      operationId: linearSelectTeam
      summary: Linear Select Team
      description: Execute the UserTold linear select team operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      - schema:
          type: string
          description: projectHandle path parameter
        required: true
        description: projectHandle path parameter
        name: projectHandle
        in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                team_id:
                  type: string
              required:
              - team_id
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
  /api/orgs/{orgHandle}/linear/webhook/status:
    get:
      operationId: linearWebhookStatus
      summary: Linear Webhook Status
      description: Execute the UserTold linear webhook status operation.
      tags:
      - Linear
      parameters:
      - schema:
          type: string
          description: orgHandle path parameter
        required: true
        description: orgHandle path parameter
        name: orgHandle
        in: path
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  registered:
                    type: boolean
                  webhookId:
                    type:
                    - string
                    - 'null'
                required:
                - registered
                - webhookId
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Domain error (non-retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Domain error (retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    ApiSuccessResponse:
      type: object
      properties:
        success:
          type: boolean
      required:
      - success
    ApiErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        retryable:
          type: boolean
        action:
          type: string
        requestId:
          type: string
      required:
      - error
externalDocs:
  description: REST versioning, deprecation, and rate-limit policy
  url: https://usertold.ai/docs/api#versioning-and-deprecation
x-api-lifecycle:
  majorVersion: 1
  versioning: implicit
  currentPathPrefix: /api
  nextBreakingPathPrefix: /api/v2
  versionSelectionHeader: null
  deprecated: false
  minimumSunsetNoticeDays: 90
  deprecationHeaders:
  - Deprecation
  - Link
  - Sunset
  policyUrl: https://usertold.ai/docs/api#versioning-and-deprecation