provider users POST /user/social_accounts
@utdk/github /user/social_accounts
Add social accounts for the authenticated user
Add one or more social accounts to the authenticated user's profile. OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.

Try it

Authentication
Configure credentials for GitHub v3 REST API
users.addSocialAccountForAuthenticatedUser
POST/user/social_accounts
Add one or more social accounts to the authenticated user's profile. OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.

Input

required

Full URLs for the social media profiles to add.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.users.addSocialAccountForAuthenticatedUser()