Classic APIs
ClassicGroupsApi
addGroupSocialLink

addGroupSocialLink

Adds a new social link to a group.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to add a social link to.
request🤷The social link request data.

Example

const { data: addedSocial } = await ClassicGroupsApi.addGroupSocialLink({
  groupId: 5850082,
  newSocial: {
    type: "Twitch",
    title: "Follow My Twitch",
    url: "twitch.tv/fooBar",
  },
}); 

Example Data

{
  id: 10791942,
  type: "Twitch",
  url: "https://twitch.tv/fooBar",
  title: "Follow My Twitch",
} 

Endpoint

POST /v1/groups/{groupId}/social-links