v1

latestOpenAPI 3.0.1MIT2026-07-176912.0 KB
Link

Add link

Add a new short link.

post/links

Request body

urlstring uri required

The URL of the link.

describestring

Description of the link.

Example request

{
  "url": "https://www.google.com",
  "describe": "Search engine"
}

Response

Link created successfully.

urlstring uri required

The URL of the link.

hashstring required

Unique hash, used as the short link.

describestring required

Description of the link.

created_atstring date-time required

Timestamp when the link was created.

updated_atstring date-time required

Timestamp when the link was last updated.

Example response

{
  "updated_at": "2000-01-23T04:56:07.000+00:00",
  "created_at": "2000-01-23T04:56:07.000+00:00",
  "describe": "describe",
  "url": "https://openapi-generator.tech",
  "hash": "hash"
}