Skip to main content
POST
Create a short link

Authorizations

Authorization
string
header
required

A workspace API key: Authorization: Bearer osk_...

Headers

Idempotency-Key
string
required

8–200 letters, digits, ., _, : or -. Retry with the same key and exact same body to get the original response.

Required string length: 8 - 200

Body

application/json
destination
string
required

An http, https, mailto or tel URL.

Maximum string length: 2048
Example:

"https://example.com/autumn-sale"

title
string | null
Maximum string length: 120
slug
string | null
Maximum string length: 60
Example:

"sale"

domain
string<uuid> | null
settings
object

Response

201 - application/json

Created

data
object