---
title: entities.accountSocialRelation
description: Read account social relation records with the accountSocialRelation repository, and change them with the account social relation mutations. Same records as the REST AccountSocialRelations entity.
canonical: https://developers.coevera.com/reference/graphql/account-social-relation/
section: graphql
verification: schema
generatedFrom: schema f155746 (2026-10-20)
publisher: Coevera
---

# entities.accountSocialRelation

Read account social relation records with the accountSocialRelation repository, and change them with the account social relation mutations. Same records as the REST AccountSocialRelations entity.

REST: [AccountSocialRelations](https://developers.coevera.com/reference/rest/account-social-relations.md).

## Queries

- `getById(entityId: ID!): AccountSocialRelationEntity` Returns the record with the given id, or null when there is none. Deleted records are returned as well.
- `getByIds(entityIds: [ID!]!): [AccountSocialRelationEntity!]!` Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
- `getAll(limit: Int, offset: Int, filter: AccountSocialRelationFilterInput, orderBy: [AccountSocialRelationOrderByInput!], includeDeleted: Boolean): [AccountSocialRelationEntity!]!` Returns the records that match the filter, paged with limit and offset.
- `getByCriteria(filter: AccountSocialRelationFilterInput, orderBy: [AccountSocialRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int): AccountSocialRelationEntityConnection` Returns the records that match the filter as a cursor-paginated connection.
- `getChangedFieldsSinceRevision(id: UUID!, revision: Int!): [UUID!]!` Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.

## Mutations

- `createAccountSocialRelation(input: CreateAccountSocialRelationInput!, validationLevel: [ValidationLevel!]): CreateAccountSocialRelationPayload` Create one record.
- `updateAccountSocialRelation(input: UpdateAccountSocialRelationInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String): UpdateAccountSocialRelationPayload` Update fields.
- `bulkUpdateAccountSocialRelation(input: [CreateOrUpdateAccountSocialRelationInput!]!, deleteInput: [DeleteAccountSocialRelationInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput): BulkUpdateAccountSocialRelationPayload` Create or update many; per-item results.
- `deleteAccountSocialRelation(input: DeleteAccountSocialRelationInput!): DeleteAccountSocialRelationPayload` Soft-delete.

## Types

### AccountSocialRelationEntity (object)

Social network profiles of an account, such as its LinkedIn, Twitter or Facebook pages.

- `isDeleteProtected: Boolean!` True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
- `id: ID!` Unique identifier of entity. Must match with Account id.
- `isDeleted: Boolean` Specifies if the entity is considered deleted.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the account.
- `crunchbaseUrl: String` Crunchbase profile URL of the account.
- `disqusUrl: String` Disqus profile URL of the account.
- `facebookId: String` Facebook page or profile id of the account.
- `facebookUrl: String` Facebook profile URL of the account.
- `flickrUrl: String` Flickr profile URL of the account.
- `foursquareUrl: String` Foursquare profile URL of the account.
- `googleId: String` Google business or profile id of the account.
- `googlePlusUrl: String` Google+ profile URL of the account.
- `gravatarUrl: String` Gravatar profile URL of the account.
- `kloutUrl: String` Klout profile URL of the account.
- `linkedinId: String` LinkedIn company or profile id of the account.
- `linkedinUrl: String` LinkedIn profile URL of the account.
- `pinterestUrl: String` Pinterest profile URL of the account.
- `quoraUrl: String` Quora profile URL of the account.
- `redditUrl: String` Reddit profile URL of the account.
- `skypeUrl: String` Skype contact URL or username of the account.
- `slideshareUrl: String` SlideShare profile URL of the account.
- `twitterId: String` Twitter (X) user id of the account.
- `twitterUrl: String` Twitter (X) profile URL of the account.
- `vimeoUrl: String` Vimeo profile URL of the account.
- `wordpressUrl: String` WordPress site URL of the account.
- `xingUrl: String` XING profile URL of the account.
- `yahooUrl: String` Yahoo profile URL of the account.
- `yelpUrl: String` Yelp business URL of the account.
- `youtubeUrl: String` YouTube channel URL of the account.
- `revision: Int` Revision when entity was lastly changed.
- `instancePermissions: [EntityPermsEnum!]! (1 args)` Permissions the current user has on this record, out of the requested ones.

### AccountSocialRelationEntityConnection (object)

Paginated list of AccountSocialRelation records.

- `pageInfo: PageInfo!` Pagination data for this connection.
- `edges: [AccountSocialRelationEntityEdge]!` Contains the nodes in this connection.
- `totalCount: Int` Total number of items in the connection.

### AccountSocialRelationEntityEdge (object)

A Relay edge containing a `AccountSocialRelationEntity` and its cursor.

- `node: AccountSocialRelationEntity` The item at the end of the edge
- `cursor: String!` A cursor for use in pagination

### AccountSocialRelationFilterInput (input)

Filter conditions for AccountSocialRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

- `OR: [AccountSocialRelationFilterInput!]` Matches records that meet at least one of the listed filters.
- `AND: [AccountSocialRelationFilterInput!]` Matches records that meet all of the listed filters.
- `NOT: AccountSocialRelationFilterInput` Matches records that do not meet this filter.
- `globalSearchQuery: String` Search term matched against the fields that the global search covers for this entity.
- `id: EntityFilterStringField` Unique identifier of entity. Must match with Account id.
- `isDeleted: Boolean` Specifies if the entity is considered deleted.
- `modified: EntityFilterDateTimeField` Last modification time.
- `created: EntityFilterDateTimeField` Creation time.
- `angellistUrl: EntityFilterStringField` AngelList profile URL of the account.
- `crunchbaseUrl: EntityFilterStringField` Crunchbase profile URL of the account.
- `disqusUrl: EntityFilterStringField` Disqus profile URL of the account.
- `facebookId: EntityFilterStringField` Facebook page or profile id of the account.
- `facebookUrl: EntityFilterStringField` Facebook profile URL of the account.
- `flickrUrl: EntityFilterStringField` Flickr profile URL of the account.
- `foursquareUrl: EntityFilterStringField` Foursquare profile URL of the account.
- `googleId: EntityFilterStringField` Google business or profile id of the account.
- `googlePlusUrl: EntityFilterStringField` Google+ profile URL of the account.
- `gravatarUrl: EntityFilterStringField` Gravatar profile URL of the account.
- `kloutUrl: EntityFilterStringField` Klout profile URL of the account.
- `linkedinId: EntityFilterStringField` LinkedIn company or profile id of the account.
- `linkedinUrl: EntityFilterStringField` LinkedIn profile URL of the account.
- `pinterestUrl: EntityFilterStringField` Pinterest profile URL of the account.
- `quoraUrl: EntityFilterStringField` Quora profile URL of the account.
- `redditUrl: EntityFilterStringField` Reddit profile URL of the account.
- `skypeUrl: EntityFilterStringField` Skype contact URL or username of the account.
- `slideshareUrl: EntityFilterStringField` SlideShare profile URL of the account.
- `twitterId: EntityFilterStringField` Twitter (X) user id of the account.
- `twitterUrl: EntityFilterStringField` Twitter (X) profile URL of the account.
- `vimeoUrl: EntityFilterStringField` Vimeo profile URL of the account.
- `wordpressUrl: EntityFilterStringField` WordPress site URL of the account.
- `xingUrl: EntityFilterStringField` XING profile URL of the account.
- `yahooUrl: EntityFilterStringField` Yahoo profile URL of the account.
- `yelpUrl: EntityFilterStringField` Yelp business URL of the account.
- `youtubeUrl: EntityFilterStringField` YouTube channel URL of the account.
- `revision: EntityFilterNumberField` Revision when entity was lastly changed.

### AccountSocialRelationOrderByInput (input)

Sorting of AccountSocialRelation records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

- `id: OrderByEnum` Unique identifier of entity. Must match with Account id.
- `isDeleted: OrderByEnum` Specifies if the entity is considered deleted.
- `modified: OrderByEnum` Last modification time.
- `created: OrderByEnum` Creation time.
- `angellistUrl: OrderByEnum` AngelList profile URL of the account.
- `crunchbaseUrl: OrderByEnum` Crunchbase profile URL of the account.
- `disqusUrl: OrderByEnum` Disqus profile URL of the account.
- `facebookUrl: OrderByEnum` Facebook profile URL of the account.
- `flickrUrl: OrderByEnum` Flickr profile URL of the account.
- `foursquareUrl: OrderByEnum` Foursquare profile URL of the account.
- `googlePlusUrl: OrderByEnum` Google+ profile URL of the account.
- `gravatarUrl: OrderByEnum` Gravatar profile URL of the account.
- `kloutUrl: OrderByEnum` Klout profile URL of the account.
- `linkedinUrl: OrderByEnum` LinkedIn profile URL of the account.
- `pinterestUrl: OrderByEnum` Pinterest profile URL of the account.
- `quoraUrl: OrderByEnum` Quora profile URL of the account.
- `redditUrl: OrderByEnum` Reddit profile URL of the account.
- `skypeUrl: OrderByEnum` Skype contact URL or username of the account.
- `slideshareUrl: OrderByEnum` SlideShare profile URL of the account.
- `twitterUrl: OrderByEnum` Twitter (X) profile URL of the account.
- `vimeoUrl: OrderByEnum` Vimeo profile URL of the account.
- `wordpressUrl: OrderByEnum` WordPress site URL of the account.
- `xingUrl: OrderByEnum` XING profile URL of the account.
- `yahooUrl: OrderByEnum` Yahoo profile URL of the account.
- `yelpUrl: OrderByEnum` Yelp business URL of the account.
- `youtubeUrl: OrderByEnum` YouTube channel URL of the account.
- `revision: OrderByEnum` Revision when entity was lastly changed.

### CreateAccountSocialRelationInput (input)

Field values of a new AccountSocialRelation record.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID!` Unique identifier of entity. Must match with Account id.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the account.
- `crunchbaseUrl: String` Crunchbase profile URL of the account.
- `disqusUrl: String` Disqus profile URL of the account.
- `facebookId: String` Facebook page or profile id of the account.
- `facebookUrl: String` Facebook profile URL of the account.
- `flickrUrl: String` Flickr profile URL of the account.
- `foursquareUrl: String` Foursquare profile URL of the account.
- `googleId: String` Google business or profile id of the account.
- `googlePlusUrl: String` Google+ profile URL of the account.
- `gravatarUrl: String` Gravatar profile URL of the account.
- `kloutUrl: String` Klout profile URL of the account.
- `linkedinId: String` LinkedIn company or profile id of the account.
- `linkedinUrl: String` LinkedIn profile URL of the account.
- `pinterestUrl: String` Pinterest profile URL of the account.
- `quoraUrl: String` Quora profile URL of the account.
- `redditUrl: String` Reddit profile URL of the account.
- `skypeUrl: String` Skype contact URL or username of the account.
- `slideshareUrl: String` SlideShare profile URL of the account.
- `twitterId: String` Twitter (X) user id of the account.
- `twitterUrl: String` Twitter (X) profile URL of the account.
- `vimeoUrl: String` Vimeo profile URL of the account.
- `wordpressUrl: String` WordPress site URL of the account.
- `xingUrl: String` XING profile URL of the account.
- `yahooUrl: String` Yahoo profile URL of the account.
- `yelpUrl: String` Yelp business URL of the account.
- `youtubeUrl: String` YouTube channel URL of the account.
- `revision: Int` Revision when entity was lastly changed.

### CreateOrUpdateAccountSocialRelationInput (input)

Field values of an AccountSocialRelation record to create, or to update when its id is set.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID` Unique identifier of entity. Must match with Account id.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the account.
- `crunchbaseUrl: String` Crunchbase profile URL of the account.
- `disqusUrl: String` Disqus profile URL of the account.
- `facebookId: String` Facebook page or profile id of the account.
- `facebookUrl: String` Facebook profile URL of the account.
- `flickrUrl: String` Flickr profile URL of the account.
- `foursquareUrl: String` Foursquare profile URL of the account.
- `googleId: String` Google business or profile id of the account.
- `googlePlusUrl: String` Google+ profile URL of the account.
- `gravatarUrl: String` Gravatar profile URL of the account.
- `kloutUrl: String` Klout profile URL of the account.
- `linkedinId: String` LinkedIn company or profile id of the account.
- `linkedinUrl: String` LinkedIn profile URL of the account.
- `pinterestUrl: String` Pinterest profile URL of the account.
- `quoraUrl: String` Quora profile URL of the account.
- `redditUrl: String` Reddit profile URL of the account.
- `skypeUrl: String` Skype contact URL or username of the account.
- `slideshareUrl: String` SlideShare profile URL of the account.
- `twitterId: String` Twitter (X) user id of the account.
- `twitterUrl: String` Twitter (X) profile URL of the account.
- `vimeoUrl: String` Vimeo profile URL of the account.
- `wordpressUrl: String` WordPress site URL of the account.
- `xingUrl: String` XING profile URL of the account.
- `yahooUrl: String` Yahoo profile URL of the account.
- `yelpUrl: String` Yelp business URL of the account.
- `youtubeUrl: String` YouTube channel URL of the account.
- `revision: Int` Revision when entity was lastly changed.

### DeleteAccountSocialRelationInput (input)

Id of the AccountSocialRelation record to delete.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID!` Unique identifier of entity. Must match with Account id.

### UpdateAccountSocialRelationInput (input)

Id of an AccountSocialRelation record and the field values to change.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID!` Unique identifier of entity. Must match with Account id.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the account.
- `crunchbaseUrl: String` Crunchbase profile URL of the account.
- `disqusUrl: String` Disqus profile URL of the account.
- `facebookId: String` Facebook page or profile id of the account.
- `facebookUrl: String` Facebook profile URL of the account.
- `flickrUrl: String` Flickr profile URL of the account.
- `foursquareUrl: String` Foursquare profile URL of the account.
- `googleId: String` Google business or profile id of the account.
- `googlePlusUrl: String` Google+ profile URL of the account.
- `gravatarUrl: String` Gravatar profile URL of the account.
- `kloutUrl: String` Klout profile URL of the account.
- `linkedinId: String` LinkedIn company or profile id of the account.
- `linkedinUrl: String` LinkedIn profile URL of the account.
- `pinterestUrl: String` Pinterest profile URL of the account.
- `quoraUrl: String` Quora profile URL of the account.
- `redditUrl: String` Reddit profile URL of the account.
- `skypeUrl: String` Skype contact URL or username of the account.
- `slideshareUrl: String` SlideShare profile URL of the account.
- `twitterId: String` Twitter (X) user id of the account.
- `twitterUrl: String` Twitter (X) profile URL of the account.
- `vimeoUrl: String` Vimeo profile URL of the account.
- `wordpressUrl: String` WordPress site URL of the account.
- `xingUrl: String` XING profile URL of the account.
- `yahooUrl: String` Yahoo profile URL of the account.
- `yelpUrl: String` Yelp business URL of the account.
- `youtubeUrl: String` YouTube channel URL of the account.
- `revision: Int` Revision when entity was lastly changed.

### BulkUpdateAccountSocialRelationPayload (object)

Result of the bulkUpdateAccountSocialRelation mutation.

- `result: BulkUpdateResults!` Ids of the created, updated and deleted records, and the items that failed.

### CreateAccountSocialRelationPayload (object)

Result of the createAccountSocialRelation mutation.

- `accountSocialRelation: AccountSocialRelationEntity` The created record.
- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).

### DeleteAccountSocialRelationPayload (object)

Result of the deleteAccountSocialRelation mutation.

- `accountSocialRelation: AccountSocialRelationEntity` The deleted record.
- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).

### UpdateAccountSocialRelationPayload (object)

Result of the updateAccountSocialRelation mutation.

- `accountSocialRelation: AccountSocialRelationEntity` The updated record.
- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).

Types several repositories share, such as `PageInfo` and the filter fields, are in the [types index](https://developers.coevera.com/reference/graphql/types.md). The [SDL](https://developers.coevera.com/graphql/schema.graphql) has the whole schema in one file.

## Example

```graphql
query FirstAccountSocialRelations {
  entities {
    accountSocialRelation {
      getByCriteria(first: 3, orderBy: [{ modified: Desc }]) {
        totalCount
        edges { node { id modified } }
      }
    }
  }
}
```

```bash
curl 'https://{region}.api.coevera.com/api/v100/app/space/{space_id}/graphql/public' \
  --user "$COEVERA_API_KEY:$COEVERA_API_SECRET" \
  --header 'Content-Type: application/json' \
  --data '{"query":"query FirstAccountSocialRelations { entities { accountSocialRelation { getByCriteria(first: 3, orderBy: [{ modified: Desc }]) { totalCount edges { node { id modified } } } } } }"}'
```
