post
/api/v1/link-shorten/create-link
API endpoint documentation
Endpoint Info
Base URLapi.bizkithub.com
AuthBearer Token
Methods1
Authentication Required
This endpoint requires a valid API key passed as a query parameter or Bearer token.
Get your API keyParameters
3 body parameters
urlstringrequiredcustomAliasstringexpiresAtstringExample Request
JavaScript fetch
const response = await fetch("https://api.bizkithub.com/api/v1/link-shorten/create-link", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"url": "example_url",
"customAlias": "example_customAlias",
"expiresAt": "example_expiresAt"
})
});
const data = await response.json();
console.log(data);post
Example Response
200Success
{
"success": true
}cURL
Command line example
curl -X POST "https://api.bizkithub.com/api/v1/link-shorten/create-link" \
-H "Content-Type: application/json" \
-d '{
"url": "example_url",
"customAlias": "example_customAlias",
"expiresAt": "example_expiresAt"
}'Need an API key?
All BizKitHub API endpoints require authentication via API key.