# Create a short link (/id/growsocmed/docs/api-reference/links/create-link)

Create a short link (own name on Pro and Agency; it cannot be changed later)

POST /links

```json
{
  "tags": [
    "Links"
  ],
  "summary": "Create a short link",
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "maxLength": 2000,
              "format": "uri"
            },
            "title": {
              "type": "string",
              "maxLength": 120
            },
            "code": {
              "type": "string",
              "maxLength": 40
            }
          },
          "required": [
            "url"
          ]
        }
      }
    }
  },
  "responses": {
    "201": {
      "description": "Created",
      "content": {
        "application/json": {
          "schema": {}
        }
      }
    }
  },
  "operationId": "create-link",
  "description": "Create a short link (own name on Pro and Agency; it cannot be changed later)"
}
```