Skip to main content

Expand Link

GET /api/expand/{short_id} Retrieve the original long URL from a shortened link.

Request

Headers:

X-Email: [[email protected]](mailto:[email protected])
X-Password: your\_password
X-Api-Key: your\_api\_key

Success Response

{
  "success": true,
  "short_id": "abc123",
  "original_url": "https://openai.com"
}

Error Responses

  • 400 – Missing required headers
  • 403 – Authentication failed
  • 404 – Link not found
{
  "success": false,
  "error": "Link not found"
}