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 and apikey (get in https://app.shorten.cl/)
Parameters
Name | Description |
---|---|
body * (object)required |
Url object{ "url": "string", "apikey": "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. "unavailable" Temporarily unavailable, for more information contact contacto@n9.cl. "apikey" "apikey" not detected, to create your "apikey" go to https://app.shorten.cl/ and go to the "API Key" section. "limit" Daily free API call limit reached. Parameter content type application/json |