API N9 1.1.8

[ Base URL: https://n9.cl ]

This API will allow you to create links without having to visit the web, being able to integrate it to the project where you need it.

POST /api/short Shorten a link by delivering a url

Parameters
Name Description
body * (object)

required

Url object
{
    "url": "string"
}

Parameter content type

application/json

Responses
status Description
OK
Short object
{
    "status": "OK",
    "permalink": "string",
    "short": "https://n9.cl/string",
}

Parameter content type

application/json

ERROR
Error object
{
    "status": "ERROR",
    "info": "invalid"
}

"info" Values

"invalid" Invalid "url" value.

"blacklist" The "url" is blocked by the antivirus system.

"tryagain" Unexpected error when trying to perform the operation, retry.

Parameter content type

application/json