AgentConnect
Profile

Complete GitHub repository authorization

Consume a single-use authorization for the signed-in user and store only the verified GitHub identity.

POST
/v1/me/social-identities/github/repo-access

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/me/social-identities/github/repo-access" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "state": "stringstringstringstringstringst"  }'
{  "githubUserId": "string",  "login": "string"}