일괄 링크 생성
한 번에 여러 개의 단축 링크를 생성하는 API입니다.
대량의 링크를 생성하려는 경우, 대시보드의 “대량 링크 만들기” 메뉴를 이용하세요.
요금제별로 한 번에 생성할 수 있는 링크 개수에는 제한이 있으며,
보다 많은 수량을 생성하려면 이 API를 여러 번 나누어 호출해야 합니다.
- 퍼스널 요금제: 최대 100개
- 프리미엄 요금제: 최대 200개
- 비즈니스 요금제: 최대 300개
이 API는 퍼스널 요금제부터 사용할 수 있습니다.
Http Header
POST /api/link/v1/createBulk
Host: https://vivoldi.com
Authorization: APIKey {Your API Key}
Content-type: application/json
User-agent: {Your User-agent}
Accept-Language: en
Request
{
"links": [
{
"url": "https://google.com",
"domain": "https://vvd.bz"
},
{
"url": "https://facebook.com",
"domain": "https://vvd.bz"
},
{
"url": "https://twitter.com",
"domain": "https://vvd.bz"
}
]
}
필드 | 유형 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
links |
| array |
Response
{
"code": 0,
"message": "",
"result": [
{
"shortUrl": "https://vvd.bz/bbuR",
"url": "https://google.com"
},
{
"shortUrl": "https://vvd.bz/bbuS",
"url": "https://facebook.com"
},
{
"shortUrl": "https://vvd.bz/bbuT",
"url": "https://twitter.com"
}
]
}
필드 | 설명 | 유형 |
---|---|---|
code | 응답 코드입니다. 0 이면 성공, 그 외는 실패를 의미합니다. | int |
message | 응답 메시지입니다. code 가 0이 아닐 경우 오류 메시지가 포함됩니다. | string |
result | 응답 데이터입니다. 요청한 개수만큼 생성된 단축 URL 목록이 배열로 반환됩니다. | array |