users
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.
post/user/social_accounts
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/user/social_accounts
- Auth: none declared
Request body
Example request
{
"account_urls": [
"https://www.linkedin.com/company/github/",
"https://twitter.com/github"
]
}Response
Response
Example response
[
{
"provider": "linkedin",
"url": "https://www.linkedin.com/company/github/"
}
]Changes
No recorded changes to this operation across all 83 revisions of this API.