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

# entities.contactSocialRelation

Read contact social relation records with the contactSocialRelation repository, and change them with the contact social relation mutations. Same records as the REST ContactSocialRelations entity.

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

## Queries

- `getById(entityId: ID!): ContactSocialRelationEntity` Returns the record with the given id, or null when there is none. Deleted records are returned as well.
- `getByIds(entityIds: [ID!]!): [ContactSocialRelationEntity!]!` 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: ContactSocialRelationFilterInput, orderBy: [ContactSocialRelationOrderByInput!], includeDeleted: Boolean): [ContactSocialRelationEntity!]!` Returns the records that match the filter, paged with limit and offset.
- `getByCriteria(filter: ContactSocialRelationFilterInput, orderBy: [ContactSocialRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int): ContactSocialRelationEntityConnection` 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

- `createContactSocialRelation(input: CreateContactSocialRelationInput!, validationLevel: [ValidationLevel!]): CreateContactSocialRelationPayload` Create one record.
- `updateContactSocialRelation(input: UpdateContactSocialRelationInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String): UpdateContactSocialRelationPayload` Update fields.
- `bulkUpdateContactSocialRelation(input: [CreateOrUpdateContactSocialRelationInput!]!, deleteInput: [DeleteContactSocialRelationInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput): BulkUpdateContactSocialRelationPayload` Create or update many; per-item results.
- `deleteContactSocialRelation(input: DeleteContactSocialRelationInput!): DeleteContactSocialRelationPayload` Soft-delete.

## Types

### ContactSocialRelationEntity (object)

Social network profiles of a contact, such as their LinkedIn, Twitter or Facebook profiles.

- `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 Contact 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 contact.
- `crunchbaseUrl: String` Crunchbase profile URL of the contact.
- `disqusUrl: String` Disqus profile URL of the contact.
- `facebookId: String` Facebook profile id of the contact.
- `facebookUrl: String` Facebook profile URL of the contact.
- `flickrUrl: String` Flickr profile URL of the contact.
- `foursquareUrl: String` Foursquare profile URL of the contact.
- `googleId: String` Google profile id of the contact.
- `googlePlusUrl: String` Google+ profile URL of the contact.
- `gravatarUrl: String` Gravatar profile URL of the contact.
- `kloutUrl: String` Klout profile URL of the contact.
- `linkedinId: String` LinkedIn profile id of the contact.
- `linkedinUrl: String` LinkedIn profile URL of the contact.
- `pinterestUrl: String` Pinterest profile URL of the contact.
- `quoraUrl: String` Quora profile URL of the contact.
- `redditUrl: String` Reddit profile URL of the contact.
- `skypeUrl: String` Skype contact URL or username of the contact.
- `slideshareUrl: String` SlideShare profile URL of the contact.
- `twitterId: String` Twitter (X) user id of the contact.
- `twitterUrl: String` Twitter (X) profile URL of the contact.
- `vimeoUrl: String` Vimeo profile URL of the contact.
- `wordpressUrl: String` WordPress site URL of the contact.
- `xingUrl: String` XING profile URL of the contact.
- `yahooUrl: String` Yahoo profile URL of the contact.
- `yelpUrl: String` Yelp profile URL of the contact.
- `youtubeUrl: String` YouTube channel URL of the contact.
- `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.

### ContactSocialRelationEntityConnection (object)

Paginated list of ContactSocialRelation records.

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

### ContactSocialRelationEntityEdge (object)

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

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

### ContactSocialRelationFilterInput (input)

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

- `OR: [ContactSocialRelationFilterInput!]` Matches records that meet at least one of the listed filters.
- `AND: [ContactSocialRelationFilterInput!]` Matches records that meet all of the listed filters.
- `NOT: ContactSocialRelationFilterInput` 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 Contact 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 contact.
- `crunchbaseUrl: EntityFilterStringField` Crunchbase profile URL of the contact.
- `disqusUrl: EntityFilterStringField` Disqus profile URL of the contact.
- `facebookId: EntityFilterStringField` Facebook profile id of the contact.
- `facebookUrl: EntityFilterStringField` Facebook profile URL of the contact.
- `flickrUrl: EntityFilterStringField` Flickr profile URL of the contact.
- `foursquareUrl: EntityFilterStringField` Foursquare profile URL of the contact.
- `googleId: EntityFilterStringField` Google profile id of the contact.
- `googlePlusUrl: EntityFilterStringField` Google+ profile URL of the contact.
- `gravatarUrl: EntityFilterStringField` Gravatar profile URL of the contact.
- `kloutUrl: EntityFilterStringField` Klout profile URL of the contact.
- `linkedinId: EntityFilterStringField` LinkedIn profile id of the contact.
- `linkedinUrl: EntityFilterStringField` LinkedIn profile URL of the contact.
- `pinterestUrl: EntityFilterStringField` Pinterest profile URL of the contact.
- `quoraUrl: EntityFilterStringField` Quora profile URL of the contact.
- `redditUrl: EntityFilterStringField` Reddit profile URL of the contact.
- `skypeUrl: EntityFilterStringField` Skype contact URL or username of the contact.
- `slideshareUrl: EntityFilterStringField` SlideShare profile URL of the contact.
- `twitterId: EntityFilterStringField` Twitter (X) user id of the contact.
- `twitterUrl: EntityFilterStringField` Twitter (X) profile URL of the contact.
- `vimeoUrl: EntityFilterStringField` Vimeo profile URL of the contact.
- `wordpressUrl: EntityFilterStringField` WordPress site URL of the contact.
- `xingUrl: EntityFilterStringField` XING profile URL of the contact.
- `yahooUrl: EntityFilterStringField` Yahoo profile URL of the contact.
- `yelpUrl: EntityFilterStringField` Yelp profile URL of the contact.
- `youtubeUrl: EntityFilterStringField` YouTube channel URL of the contact.
- `revision: EntityFilterNumberField` Revision when entity was lastly changed.

### ContactSocialRelationOrderByInput (input)

Sorting of ContactSocialRelation 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 Contact 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 contact.
- `crunchbaseUrl: OrderByEnum` Crunchbase profile URL of the contact.
- `disqusUrl: OrderByEnum` Disqus profile URL of the contact.
- `facebookUrl: OrderByEnum` Facebook profile URL of the contact.
- `flickrUrl: OrderByEnum` Flickr profile URL of the contact.
- `foursquareUrl: OrderByEnum` Foursquare profile URL of the contact.
- `googlePlusUrl: OrderByEnum` Google+ profile URL of the contact.
- `gravatarUrl: OrderByEnum` Gravatar profile URL of the contact.
- `kloutUrl: OrderByEnum` Klout profile URL of the contact.
- `linkedinUrl: OrderByEnum` LinkedIn profile URL of the contact.
- `pinterestUrl: OrderByEnum` Pinterest profile URL of the contact.
- `quoraUrl: OrderByEnum` Quora profile URL of the contact.
- `redditUrl: OrderByEnum` Reddit profile URL of the contact.
- `skypeUrl: OrderByEnum` Skype contact URL or username of the contact.
- `slideshareUrl: OrderByEnum` SlideShare profile URL of the contact.
- `twitterUrl: OrderByEnum` Twitter (X) profile URL of the contact.
- `vimeoUrl: OrderByEnum` Vimeo profile URL of the contact.
- `wordpressUrl: OrderByEnum` WordPress site URL of the contact.
- `xingUrl: OrderByEnum` XING profile URL of the contact.
- `yahooUrl: OrderByEnum` Yahoo profile URL of the contact.
- `yelpUrl: OrderByEnum` Yelp profile URL of the contact.
- `youtubeUrl: OrderByEnum` YouTube channel URL of the contact.
- `revision: OrderByEnum` Revision when entity was lastly changed.

### CreateContactSocialRelationInput (input)

Field values of a new ContactSocialRelation 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 Contact id.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the contact.
- `crunchbaseUrl: String` Crunchbase profile URL of the contact.
- `disqusUrl: String` Disqus profile URL of the contact.
- `facebookId: String` Facebook profile id of the contact.
- `facebookUrl: String` Facebook profile URL of the contact.
- `flickrUrl: String` Flickr profile URL of the contact.
- `foursquareUrl: String` Foursquare profile URL of the contact.
- `googleId: String` Google profile id of the contact.
- `googlePlusUrl: String` Google+ profile URL of the contact.
- `gravatarUrl: String` Gravatar profile URL of the contact.
- `kloutUrl: String` Klout profile URL of the contact.
- `linkedinId: String` LinkedIn profile id of the contact.
- `linkedinUrl: String` LinkedIn profile URL of the contact.
- `pinterestUrl: String` Pinterest profile URL of the contact.
- `quoraUrl: String` Quora profile URL of the contact.
- `redditUrl: String` Reddit profile URL of the contact.
- `skypeUrl: String` Skype contact URL or username of the contact.
- `slideshareUrl: String` SlideShare profile URL of the contact.
- `twitterId: String` Twitter (X) user id of the contact.
- `twitterUrl: String` Twitter (X) profile URL of the contact.
- `vimeoUrl: String` Vimeo profile URL of the contact.
- `wordpressUrl: String` WordPress site URL of the contact.
- `xingUrl: String` XING profile URL of the contact.
- `yahooUrl: String` Yahoo profile URL of the contact.
- `yelpUrl: String` Yelp profile URL of the contact.
- `youtubeUrl: String` YouTube channel URL of the contact.
- `revision: Int` Revision when entity was lastly changed.

### CreateOrUpdateContactSocialRelationInput (input)

Field values of a ContactSocialRelation 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 Contact id.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the contact.
- `crunchbaseUrl: String` Crunchbase profile URL of the contact.
- `disqusUrl: String` Disqus profile URL of the contact.
- `facebookId: String` Facebook profile id of the contact.
- `facebookUrl: String` Facebook profile URL of the contact.
- `flickrUrl: String` Flickr profile URL of the contact.
- `foursquareUrl: String` Foursquare profile URL of the contact.
- `googleId: String` Google profile id of the contact.
- `googlePlusUrl: String` Google+ profile URL of the contact.
- `gravatarUrl: String` Gravatar profile URL of the contact.
- `kloutUrl: String` Klout profile URL of the contact.
- `linkedinId: String` LinkedIn profile id of the contact.
- `linkedinUrl: String` LinkedIn profile URL of the contact.
- `pinterestUrl: String` Pinterest profile URL of the contact.
- `quoraUrl: String` Quora profile URL of the contact.
- `redditUrl: String` Reddit profile URL of the contact.
- `skypeUrl: String` Skype contact URL or username of the contact.
- `slideshareUrl: String` SlideShare profile URL of the contact.
- `twitterId: String` Twitter (X) user id of the contact.
- `twitterUrl: String` Twitter (X) profile URL of the contact.
- `vimeoUrl: String` Vimeo profile URL of the contact.
- `wordpressUrl: String` WordPress site URL of the contact.
- `xingUrl: String` XING profile URL of the contact.
- `yahooUrl: String` Yahoo profile URL of the contact.
- `yelpUrl: String` Yelp profile URL of the contact.
- `youtubeUrl: String` YouTube channel URL of the contact.
- `revision: Int` Revision when entity was lastly changed.

### DeleteContactSocialRelationInput (input)

Id of the ContactSocialRelation 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 Contact id.

### UpdateContactSocialRelationInput (input)

Id of a ContactSocialRelation 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 Contact id.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `angellistUrl: String` AngelList profile URL of the contact.
- `crunchbaseUrl: String` Crunchbase profile URL of the contact.
- `disqusUrl: String` Disqus profile URL of the contact.
- `facebookId: String` Facebook profile id of the contact.
- `facebookUrl: String` Facebook profile URL of the contact.
- `flickrUrl: String` Flickr profile URL of the contact.
- `foursquareUrl: String` Foursquare profile URL of the contact.
- `googleId: String` Google profile id of the contact.
- `googlePlusUrl: String` Google+ profile URL of the contact.
- `gravatarUrl: String` Gravatar profile URL of the contact.
- `kloutUrl: String` Klout profile URL of the contact.
- `linkedinId: String` LinkedIn profile id of the contact.
- `linkedinUrl: String` LinkedIn profile URL of the contact.
- `pinterestUrl: String` Pinterest profile URL of the contact.
- `quoraUrl: String` Quora profile URL of the contact.
- `redditUrl: String` Reddit profile URL of the contact.
- `skypeUrl: String` Skype contact URL or username of the contact.
- `slideshareUrl: String` SlideShare profile URL of the contact.
- `twitterId: String` Twitter (X) user id of the contact.
- `twitterUrl: String` Twitter (X) profile URL of the contact.
- `vimeoUrl: String` Vimeo profile URL of the contact.
- `wordpressUrl: String` WordPress site URL of the contact.
- `xingUrl: String` XING profile URL of the contact.
- `yahooUrl: String` Yahoo profile URL of the contact.
- `yelpUrl: String` Yelp profile URL of the contact.
- `youtubeUrl: String` YouTube channel URL of the contact.
- `revision: Int` Revision when entity was lastly changed.

### BulkUpdateContactSocialRelationPayload (object)

Result of the bulkUpdateContactSocialRelation mutation.

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

### CreateContactSocialRelationPayload (object)

Result of the createContactSocialRelation mutation.

- `contactSocialRelation: ContactSocialRelationEntity` 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).

### DeleteContactSocialRelationPayload (object)

Result of the deleteContactSocialRelation mutation.

- `contactSocialRelation: ContactSocialRelationEntity` 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).

### UpdateContactSocialRelationPayload (object)

Result of the updateContactSocialRelation mutation.

- `contactSocialRelation: ContactSocialRelationEntity` 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 FirstContactSocialRelations {
  entities {
    contactSocialRelation {
      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 FirstContactSocialRelations { entities { contactSocialRelation { getByCriteria(first: 3, orderBy: [{ modified: Desc }]) { totalCount edges { node { id modified } } } } } }"}'
```
