---
title: "AccountSocialRelations.create"
method: POST
path: "/entities/AccountSocialRelations"
tags: ["Account"]
---

# AccountSocialRelations.create

`POST /entities/AccountSocialRelations`

## Request

- Base URL: `https://us-east.api.coevera.com/api/v100/rest/spaces/your_space_id`
- URL: `https://us-east.api.coevera.com/api/v100/rest/spaces/your_space_id/entities/AccountSocialRelations`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/coevera/apis/coevera-crm-api/docs/entities/AccountSocialRelations/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a AccountSocialRelation record.

## Query parameters

- `validation-level` integer

## Request body

- CreateAccountSocialRelationInput: Field values of a new AccountSocialRelation record.
  - `id` string, uuid, required: Unique identifier of entity. Must match with Account id.
  - `modified` string, date-time: Last modification time.
  - `created` string, date-time: Creation time.
  - `angellist_url` string: AngelList profile URL of the account.
  - `crunchbase_url` string: Crunchbase profile URL of the account.
  - `disqus_url` string: Disqus profile URL of the account.
  - `facebook_id` string: Facebook page or profile id of the account.
  - `facebook_url` string: Facebook profile URL of the account.
  - `flickr_url` string: Flickr profile URL of the account.
  - `foursquare_url` string: Foursquare profile URL of the account.
  - `google_id` string: Google business or profile id of the account.
  - `google_plus_url` string: Google+ profile URL of the account.
  - `gravatar_url` string: Gravatar profile URL of the account.
  - `klout_url` string: Klout profile URL of the account.
  - `linkedin_id` string: LinkedIn company or profile id of the account.
  - `linkedin_url` string: LinkedIn profile URL of the account.
  - `pinterest_url` string: Pinterest profile URL of the account.
  - `quora_url` string: Quora profile URL of the account.
  - `reddit_url` string: Reddit profile URL of the account.
  - `skype_url` string: Skype contact URL or username of the account.
  - `slideshare_url` string: SlideShare profile URL of the account.
  - `twitter_id` string: Twitter (X) user id of the account.
  - `twitter_url` string: Twitter (X) profile URL of the account.
  - `vimeo_url` string: Vimeo profile URL of the account.
  - `wordpress_url` string: WordPress site URL of the account.
  - `xing_url` string: XING profile URL of the account.
  - `yahoo_url` string: Yahoo profile URL of the account.
  - `yelp_url` string: Yelp business URL of the account.
  - `youtube_url` string: YouTube channel URL of the account.
  - `revision` integer: Revision when entity was lastly changed.

## Response `201`

The created AccountSocialRelation record.

- object
  - `success` boolean: True when the request succeeded; false on error.
  - `data` AccountSocialRelation: Social network profiles of an account, such as its LinkedIn, Twitter or Facebook pages.
    - `is_delete_protected` boolean, required: 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` string, uuid, required: Unique identifier of entity. Must match with Account id.
    - `is_deleted` boolean: Specifies if the entity is considered deleted.
    - `modified` string, date-time: Last modification time.
    - `created` string, date-time: Creation time.
    - `angellist_url` string: AngelList profile URL of the account.
    - `crunchbase_url` string: Crunchbase profile URL of the account.
    - `disqus_url` string: Disqus profile URL of the account.
    - `facebook_id` string: Facebook page or profile id of the account.
    - `facebook_url` string: Facebook profile URL of the account.
    - `flickr_url` string: Flickr profile URL of the account.
    - `foursquare_url` string: Foursquare profile URL of the account.
    - `google_id` string: Google business or profile id of the account.
    - `google_plus_url` string: Google+ profile URL of the account.
    - `gravatar_url` string: Gravatar profile URL of the account.
    - `klout_url` string: Klout profile URL of the account.
    - `linkedin_id` string: LinkedIn company or profile id of the account.
    - `linkedin_url` string: LinkedIn profile URL of the account.
    - `pinterest_url` string: Pinterest profile URL of the account.
    - `quora_url` string: Quora profile URL of the account.
    - `reddit_url` string: Reddit profile URL of the account.
    - `skype_url` string: Skype contact URL or username of the account.
    - `slideshare_url` string: SlideShare profile URL of the account.
    - `twitter_id` string: Twitter (X) user id of the account.
    - `twitter_url` string: Twitter (X) profile URL of the account.
    - `vimeo_url` string: Vimeo profile URL of the account.
    - `wordpress_url` string: WordPress site URL of the account.
    - `xing_url` string: XING profile URL of the account.
    - `yahoo_url` string: Yahoo profile URL of the account.
    - `yelp_url` string: Yelp business URL of the account.
    - `youtube_url` string: YouTube channel URL of the account.
    - `revision` integer: Revision when entity was lastly changed.

## Other responses

- `400`: Bad request: a bad or unknown parameter (codes 117, 118), a missing permission (code 50), conflicting data (code 2002) or any other API error. The REST API answers 400 where others answer 403 or 409; check `code`.
- `401`: Not authenticated: missing or wrong credentials, a credential of another space, or an expired token (code 401, ERROR_UNAUTHORIZED).
- `422`: Validation failed (code 40000, with the failing fields) or a required parameter is missing (code 119). By default one failed item fails a whole batch and nothing is written.
- `429`: Too many requests (code 182). Wait for the seconds in Retry-After, then retry.
- `500`: Unexpected server error (code 1000, ERROR_UNKNOWN).

---

[API](https://skmtc.dev/coevera/apis/coevera-crm-api.md) - [All operations](https://skmtc.dev/coevera/apis/coevera-crm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/coevera/apis/coevera-crm-api/revisions/40ebbc83f179?raw)
