Skip to Content
SeyloDocs

Finish creating the GitHub App

POST
/api/v1/github.finishManifest

Exchanges the code GitHub returned after the manifest flow for the new App's id, keys and webhook secret, and stores them sealed. Fails if state is unknown or expired, or an App already exists.

Needs github.manage, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
code*string
Length1 <= length <= 200
state*string
Length1 <= length <= 200

Response Body

Success.

application/json
  1. response
id*string

Panel-issued id.

Match^[a-z0-9]{16}$
appId*integer
slug*string
name*string
ownerLogin*string
htmlUrl*string
installUrl*string
createdAt*string
Formatdate-time
Example Request
curl -X POST 'https://example.com/api/v1/github.finishManifest' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "state": "string"}'
Example Response
{  "id": "string",  "appId": 0,  "slug": "string",  "name": "string",  "ownerLogin": "string",  "htmlUrl": "string",  "installUrl": "string",  "createdAt": "2019-08-24T14:15:22Z"}