---
title: "Create social link for an address"
method: POST
path: "/v1/api/social/{chain}"
tags: ["social"]
---

# Create social link for an address

`POST /v1/api/social/{chain}`

## Request body

- SocialLinkCreateIn
  - `data` SocialLinkCreate, required
    - `address` string, required
    - `socialType` 'discord' | 'twitter', required
    - `code` string, required
    - `codeVerifier` string, nullable
    - `redirectUri` string, required

## Response `200`

OK

- SocialLink
  - `address` string
  - `socialType` 'discord' | 'twitter'

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Entity
- `default` — Default error response

---

[API](https://skmtc.dev/streamflow/apis/my-api.md) · [All operations](https://skmtc.dev/streamflow/apis/my-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/streamflow/my-api/revisions/f2205e955030/schema)
