Retrieve a GitHub integration access token
Returns a valid GitHub access token for one integration owned by the
authenticated user. Expired tokens are refreshed before the response is
returned.
This endpoint accepts the user's own bearer token, or the app's secret key
acting server-to-server for one of its users. Developer, agent, team, and
cross-user viewers cannot retrieve the credential. Responses are marked
Cache-Control: no-store.
Parameters
user: string
User ID (usr_...). The authenticated user, or a user of the app whose secret key is presented.
Retrieve a GitHub integration access token Returns a valid GitHub access token for one integration owned by the authenticated user. Expired tokens are refreshed before the response is returned. This endpoint accepts the user's own bearer token, or the app's secret key acting server-to-server for one of its users. Developer, agent, team, and cross-user viewers cannot retrieve the credential. Responses are marked
Cache-Control: no-store.