Shrtr API (0.0.1)

Download OpenAPI specification:Download

Shrtr API spec

GenerateShortURL

Request Body schema: application/json
mode
required
string
Enum: "random" "identifiable"

Random mode generates a 6-character random URL path. Identifiable is human readable.

url
required
string

URL to redirect to. Can be prefixed with https or not.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}