๐Ÿ›

GitHub Issue API

Create GitHub issues programmatically. Supports title, markdown body, and labels. Perfect for AI agents, CI pipelines, and automated bug reporting.

API Docs $0.002 / request

About this tool

Create issues on any GitHub repository you have write access to. Provide a title (required), optional markdown body, and optional labels. Requires a GitHub Personal Access Token (PAT) with repo scope for private repos or public_repo scope for public repos.

Quick Start

curl -X POST https://api.iteratools.com/github/issue \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "owner": "my-org", "repo": "my-repo", "title": "Bug: feature X not working", "body": "## Description\n\nSteps to reproduce...", "labels": ["bug", "priority:high"], "token": "ghp_yourtoken" }'

Body Parameters

FieldTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
titlestringYesIssue title
tokenstringYesGitHub PAT with repo scope
bodystringNoIssue body (Markdown supported)
labelsarrayNoLabels to apply (must exist in repo)

Response

{"issue_number":42,"url":"https://github.com/my-org/my-repo/issues/42","title":"Bug: feature X not working","state":"open","created_at":"2026-03-13T17:09:00Z"}

Pricing

$0.002 per request via x402 micropayment on Base (USDC). Write operations require a valid GitHub PAT โ€” no system token fallback.

Full Documentation Browse All Tools