nShortURL Overview
- Print
- PDF
nShortURL Overview
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
A URL of a web page is usually very long. nShortURL shortens long URLs so that you can conveniently use the SNS or SMS service where the small number of characters is only allowed. It only creates a safe, short URL which has no security issues, so you can use it reliably.
Common information
You can get a Client ID by registering your application in NAVER Cloud Platform Console.
Go to AI·NAVER API > AI·NAVER API > Application in your web console and register an application. Learn how to register >
Check your Client ID and Client Secret by selecting the application registered in AI·NAVER API > AI·NAVER API > Application.
Click [Edit] of the application to make sure that nShortURL is selected. If it is not selected, a 429 error (Quota Exceed) occurs.
API URL
Method | Authentication | Request URL | Output format |
---|---|---|---|
GET / POST | - | https://naveropenapi.apigw.ntruss.com/util/v1/shorturl | JSON |
Request Header
Header | Description |
---|---|
X-NCP-APIGW-API-KEY-ID | Client ID issued when registering an appX-NCP-APIGW-API-KEY-ID:{Client ID} |
X-NCP-APIGW-API-KEY | Client Secret issued when registering an appX-NCP-APIGW-API-KEY:{Client Secret} |
Error Codes
{
"error": {
"errorCode": "300",
"message": "Not Found Exception"
}
}
Common errors
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | 100 | Bad Request Exception | Request error in protocol (https) or encoding (UTF-8). |
401 | 200 | Authentication Failed | Authentication failed. |
401 | 210 | Permission Denied | Authentication failed. |
404 | 300 | Not Found Exception | Authentication failed. |
429 | 400 | Quota Exceeded | Quota exceeded. |
429 | 410 | Throttle Limited | Rate exceeded. |
429 | 420 | Rate Limited | Rate exceeded. |
413 | 430 | Request Entity Too Large | Content-length exceeded (10 MB). |
503 | 500 | Endpoint Error | End point connection error |
504 | 510 | Endpoint Timeout | End point connection timeout |
500 | 900 | Unexpected Error | Unexpected error |
Was this article helpful?