Skip to main content
POST
Create a new short URL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

URL creation request

destination
string
required
Example:

"https://example.com"

description
string
Example:

"A great website"

expires_at
string
Example:

"2024-12-31T23:59:59Z"

image_url
string
Example:

"https://example.com/image.jpg"

short_path
string
Example:

"custom-path"

title
string
Example:

"My Website"

Response

Created

created_at
string
Example:

"2024-01-01T12:00:00Z"

description
string
Example:

"A great website"

destination
string
Example:

"https://example.com"

expires_at
string
Example:

"2024-12-31T23:59:59Z"

id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

image_url
string
Example:

"https://example.com/image.jpg"

short_path
string
Example:

"abc123"

title
string
Example:

"My Website"

updated_at
string
Example:

"2024-01-01T12:00:00Z"