UserTold.ai GitHub App API
The GitHub App API from UserTold.ai, for github app.
The GitHub App API from UserTold.ai, for github app.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/usertold-ai:usertold-ai-github-app-api"
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.
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: 3.2.0
info:
title: UserTold.ai GitHub App 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: GitHub App
paths:
/api/orgs/{orgHandle}/projects/{projectHandle}/github-app/installations:
get:
operationId: githubAppInstallations
summary: Github App Installations
description: Execute the UserTold github app installations operation.
tags:
- GitHub App
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:
installations:
type: array
items:
type: object
properties:
id:
type: string
installation_id:
type: integer
account_login:
type: string
account_type:
type: string
repository_selection:
type: string
permissions:
type: object
additionalProperties:
type: string
status:
type: string
created_at:
type: string
updated_at:
type: string
required:
- id
- installation_id
- account_login
- account_type
- repository_selection
- permissions
- status
- created_at
- updated_at
required:
- installations
'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}/github-app/diagnostics:
get:
operationId: githubAppDiagnostics
summary: Github App Diagnostics
description: Execute the UserTold github app diagnostics operation.
tags:
- GitHub App
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
- schema:
type: string
pattern: ^(?:[1-9]|[1-9][0-9]|100)$
required: false
name: limit
in: query
- schema:
type: string
maxLength: 500
required: false
name: cursor
in: query
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
events:
type: array
items:
type: object
properties:
id:
type: string
action:
type: string
outcome:
type: string
enum:
- succeeded
- failed
- ignored
source:
type: string
enum:
- api
- setup_callback
- webhook
actor_user_id:
type:
- integer
- 'null'
installation_id:
type:
- integer
- 'null'
installation_record_id:
type:
- string
- 'null'
repository:
type:
- string
- 'null'
error_code:
type:
- string
- 'null'
provider_status:
type:
- integer
- 'null'
request_id:
type:
- string
- 'null'
delivery_id:
type:
- string
- 'null'
created_at:
type: string
required:
- id
- action
- outcome
- source
- actor_user_id
- installation_id
- installation_record_id
- repository
- error_code
- provider_status
- request_id
- delivery_id
- created_at
next_cursor:
type:
- string
- 'null'
retention_days:
type: integer
installation:
type:
- object
- 'null'
properties:
id:
type: string
installation_id:
type: integer
account_login:
type: string
account_type:
type: string
repository_selection:
type: string
permissions:
type: object
additionalProperties:
type: string
status:
type: string
created_at:
type: string
updated_at:
type: string
required:
- id
- installation_id
- account_login
- account_type
- repository_selection
- permissions
- status
- created_at
- updated_at
project_repository:
type:
- object
- 'null'
properties:
repository_id:
type:
- integer
- 'null'
url:
type: string
default_branch:
type: string
required:
- repository_id
- url
- default_branch
required:
- events
- next_cursor
- retention_days
- installation
- project_repository
'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}/projects/{projectHandle}/github-app/verify:
post:
operationId: githubAppVerify
summary: Github App Verify
description: Execute the UserTold github app verify operation.
tags:
- GitHub App
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:
status:
type: string
enum:
- ok
- error
code:
type: string
message:
type: string
retryable:
type: boolean
action:
type: string
checked_at:
type: string
request_id:
type:
- string
- 'null'
required:
- status
- code
- message
- retryable
- checked_at
- request_id
'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}/github-app/select-installation:
post:
operationId: githubAppSelectInstallation
summary: Github App Select Installation
description: Execute the UserTold github app select installation operation.
tags:
- GitHub App
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:
installation_id:
type: string
required:
- installation_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}/projects/{projectHandle}/github-app/connection:
delete:
operationId: githubAppDisconnect
summary: Github App Disconnect
description: Execute the UserTold github app disconnect operation.
tags:
- GitHub App
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:
$ref: '#/components/schemas/ApiSuccessResponse'
'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}/github-app/repos:
get:
operationId: githubAppRepos
summary: Github App Repos
description: Execute the UserTold github app repos operation.
tags:
- GitHub App
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:
repos:
type: array
items:
type: object
properties:
id:
type: integer
full_name:
type: string
html_url:
type: string
default_branch:
type: string
description:
type:
- string
- 'null'
private:
type: boolean
required:
- id
- full_name
- html_url
- default_branch
- description
- private
hasMore:
type: boolean
required:
- repos
- hasMore
'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}/github-app/select-repo:
post:
operationId: githubAppSelectRepo
summary: Github App Select Repo
description: Execute the UserTold github app select repo operation.
tags:
- GitHub App
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:
repo_url:
type: string
default_branch:
type: string
required:
- repo_url
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
project:
type: object
properties:
ref:
type: string
handle:
type: string
name:
type: string
description:
type:
- string
- 'null'
org_handle:
type:
- string
- 'null'
project_handle:
type: string
project_ref:
type:
- string
- 'null'
canonical_path:
type:
- string
- 'null'
can_manage_credits:
type: boolean
github_repo_url:
type:
- string
- 'null'
github_default_branch:
type: string
github_installation_id:
type:
- string
- 'null'
linear_team_id:
type:
- string
- 'null'
public_key:
type: string
created_at:
type: string
updated_at:
type: string
required:
- ref
- handle
- name
- description
- org_handle
- project_handle
- project_ref
- canonical_path
- can_manage_credits
- github_repo_url
- github_default_branch
- github_installation_id
- linear_team_id
- public_key
- created_at
- updated_at
required:
- success
- project
'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}/projects/{projectHandle}/github-app/install:
get:
operationId: githubAppInstall
summary: Github App Install
description: Execute the UserTold github app install operation.
tags:
- GitHub App
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: {}
'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/github/app/setup:
get:
operationId: githubAppSetup
summary: Github App Setup
description: Execute the UserTold github app setup operation.
tags:
- GitHub App
parameters:
- schema:
type: string
required: false
name: installation_id
in: query
- schema:
type: string
required: false
name: setup_action
in: query
- schema:
type: string
required: false
name: state
in: query
responses:
'200':
description: Success
content:
application/json:
schema: {}
'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'
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