Developer API

Integrate custom URL shortening directly into your applications using our high-performance production backend.

Authentication Guide

Getting your API Key

  1. 1

    Log in to your account

    Access the main dashboard using your credentials.

  2. 2

    Select your Organization

    Navigate to the Organizations section and click on your desired organization to enter its workspace.

  3. 3

    Navigate to API Keys

    In the organization workspace sidebar, click on the API Keys menu item.

  4. 4

    Generate Key

    Click the Create API Key button, enter the required details, and securely copy your new token.

Endpoint Details

Custom URL Creation

Use our production endpoint to generate short links with custom aliases and optional expiry settings.

Authentication RequiredYou must send your API key in the Authorization header formatted exactly as a Bearer token. Missing the prefix results in a 401 error.
https://backend.shortify.gkrcoder.me/api/v1/dev/custom/create
Headers
{
  "Authorization": "Bearer <YOUR_API_KEY>",
  "Content-Type": "application/json"
}
POST Request Body
{
  "originalUrl": "https://github.com/expressjs/express",
  "requestedSlug": "custom-alias",
  "expiryDays": 30
}
curl -X POST https://backend.shortify.gkrcoder.me/api/v1/dev/custom/create \
  -H "Authorization: Bearer YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "originalUrl": "https://github.com/expressjs/express",
    "requestedSlug": "custom-alias",
    "expiryDays": 30
  }'
200 OK Response
{
  "success": true,
  "message": "Operation successful",
  "data": {
    "shortCode": "custom-alias",
    "destination": "https://github.com/expressjs/express",
    "expiresAt": "2026-06-26T19:02:23.240Z",
    "createdAt": "2026-06-21T19:02:25.090Z"
  },
  "requestId": "req-083e899f-4965-4cad-9b55-a236ac324e76"
}
POST
/api/v1/dev/custom/create

Create short URL with custom alias