You can easily integrate your application or website with mub.me link shortening.
You may follow the documentation below to get started.
#API Endpoint
POST https://mub.me/api
#Required Parameters
Parameter | Type | Description |
---|---|---|
url |
URL / Link | This is the long URL that you want to shorten, please keep in mind that it must start with the protocol (http/ftp etc...). |
api_key |
API Key | If you would like the link to show up in your account, provide the API Key parameter which can be found in your accounts page (must be registered). |
#API Responses
The mub.me API will return a JSON response.
Response Type | Responses | Sample Response |
---|---|---|
success |
|
{ "status": "success", "link": "https://mub.me/chrome" } |
error |
|
{ "message": "The given data was invalid.", "errors": { "url": [ "The url field is required." ] } } |