Skip to main content
POST
Create a GitHub integration

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY.

Body

application/json
owner
string
required

GitHub user or organization that owns the repository.

Minimum string length: 1
Example:

"usenotra"

repo
string
required

Repository name without the owner.

Minimum string length: 1
Example:

"notra"

branch
string | null

Branch to read activity from. Defaults to the repository's default branch.

Minimum string length: 1
Example:

"main"

token
string | null

GitHub personal access token with read access to the repository. Required for private repositories; public repositories work without one.

Minimum string length: 1
Example:

"github_pat_11ABCDEFG..."

Response

GitHub integration created successfully

github
object
required
organization
object
required
Last modified on October 2, 2026