Read GitHub connection progress and recovery action
const url = 'https://testperch.com/api/public/v1/onboardings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/github-connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {'X-Onboarding-Claim': '<X-Onboarding-Claim>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://testperch.com/api/public/v1/onboardings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/github-connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'X-Onboarding-Claim: <X-Onboarding-Claim>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Requires X-Onboarding-Claim for this exact onboarding/workspace. Status includes next_action and bounded failure_code. Pending approval is not connected and may outlast the 15-minute authorization deadline. Continue reporter/environment setup; after approval create a fresh connection and authorize again. An installation webhook never attaches a workspace. A stalled awaiting_installation may indicate organization policy prevents installation or requests: ask an organization owner. Connected means verified GitHub user access to this app installation with required permissions; map a repository separately through the project API. Claimed, expired or purged onboarding revokes claim authority and returns 404; use real-account workspace settings after claiming. No query parameters.
object
Example
{ "status": "awaiting_confirmation", "failure_code": "authorization_denied"}Invalid request. Secret values are never echoed.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Onboarding is closed, claim proof is invalid, or the connection belongs to another workspace.
object
object
object
Example
{ "error": { "code": "invalid_request" }}The connection state changed. Read status and follow next_action.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Temporary authorization expired while processing. Create a fresh connection if onboarding is still active; after claiming use workspace settings.
object
object
object
Example
{ "error": { "code": "invalid_request" }}JSON request body exceeds 4096 bytes.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Credential or workspace rate limit exceeded.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”Seconds before retrying.
Seconds before retrying.
GitHub connection could not be processed. Retry status before creating a fresh connection.
object
object
object
Example
{ "error": { "code": "invalid_request" }}GitHub configuration or verification is temporarily unavailable. Retry with a fresh connection link.
object
object
object
Example
{ "error": { "code": "invalid_request" }}