Skip to content

배지 발급 (다건)

POST
/badges/batch

하나의 템플릿으로 여러 수령인에게 배지를 일괄 발급합니다. 한 요청당 최대 1,000건입니다.

발급은 비동기로 처리됩니다. 요청은 202로 접수되며 각 건마다 badge_id가 채번됩니다. 발급 완료 여부는 발급이력 조회(recipient_email·title 필터)로 확인하십시오.

Authorizations

ApiKeyAuth
Type
API Key (header: X-API-Key)

Request Body (JSON)

필드명타입필수 여부기본값설명
template_idstringRequired-발급할 템플릿 ID
recipientsarray<object>Required-수령인 목록 (최대 1000건)
↳ recipient_namestringRequired-수령인 이름
↳ recipient_emailstringRequired-수령인 이메일

Responses

발급 접수

application/json
JSON
{
  
"code": "0002",
  
"message": "다건 발급 요청이 접수되었습니다.",
  
"data": {
  
  
"total_count": 2,
  
  
"accepted_count": 2,
  
  
"items": [
  
  
  
{
  
  
  
  
"recipient_email": "johwangg@dainls.com",
  
  
  
  
"badge_id": "0QQMHSW5M3AQV",
  
  
  
  
"status_cd": "ISSUE_WAIT"
  
  
  
},
  
  
  
{
  
  
  
  
"recipient_email": "kcs@dainls.com",
  
  
  
  
"badge_id": "0QQMHSW5M3AQW",
  
  
  
  
"status_cd": "ISSUE_WAIT"
  
  
  
}
  
  
]
  
}
}

Samples