---
title: "Create a short link"
method: POST
path: "/short-urls"
tags: ["Messages"]
---

# Create a short link

`POST /short-urls`

## Request

- Base URL: `https://api.salesmessage.com/pub/v2.3`
- URL: `https://api.salesmessage.com/pub/v2.3/short-urls`
- Auth: HTTP bearer

REQUIRED SCOPES <code>['messages:write']</code><br>Creates a new short link for one URL on the organization's short domain, to put into a message. Every call creates a new link, also for a URL shortened before.

## Request body

- CreateShortUrlRequest
  - `url` string, uri, required

## Response `200`

Short link created

- object
  - `short_url` string

## Other responses

- `401`: Unauthenticated
- `403`: HIPAA organization: the OAuth application has no signed Business Associate Agreement
- `422`: Missing or invalid url
- `429`: Too many requests for the organization
- `503`: The short link service is unavailable

## Changes

- **2026-11-02** `ca61a01e9dad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/salesmessage/apis/salesmessage-public-api/changes/short-urls/post.md)

---

[API](https://skmtc.dev/salesmessage/apis/salesmessage-public-api.md) - [All operations](https://skmtc.dev/salesmessage/apis/salesmessage-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/salesmessage/apis/salesmessage-public-api/revisions/ca61a01e9dad?raw)
