v1
latestOpenAPI 3.1.02026-07-13143194365.4 KBverification
Verify GitHub social link
Verify ownership of a GitHub social link using an OAuth 2.0 access token.
Flow:
- Client obtains a GitHub OAuth 2.0 access token via authorization code flow
- Client sends the token to this endpoint
- API validates the token against GitHub's GET /user endpoint
- If the returned username matches the account's existing GitHub social link, it's marked as verified
Prerequisites:
- Account must have a GitHub social link already added (via POST /v1/account/social-links)
- Client must have a valid GitHub OAuth 2.0 access token
Idempotent: Calling this on an already-verified GitHub link returns success.
Authentication: Authorization: Bearer <CLIENT_JWT>
post/v1/account/social/verify/github
Headers
authorizationstring nullable
Bearer JWT issued by Grove that identifies the account.
Bearer JWT issued by Grove that identifies the account.
Request body
Response
Successful Response