Skip to main content
POST
차단 번호 일괄 생성

Authorizations

Authorization
string
header
required

조직 API 키를 Authorization: Bearer <token> 형식으로 보냅니다.

Body

application/json

일괄 생성할 번호와 공통 규칙 설정입니다.

numbers
string[]
required

차단할 전화번호 목록입니다. 한 요청에 최대 500건까지 지정할 수 있습니다.

Required array length: 1 - 500 elements
scope
enum<string>
required

모든 입력 번호에 공통으로 적용할 차단 범위입니다.

Available options:
global,
specific
specific_organization_telephone_ids
string<uuid>[]

scope가 'specific'일 때 규칙이 적용되는 보유 전화번호 ID 목록입니다. 'global'이면 빈 배열입니다.

direction
enum<string>
default:both

모든 입력 번호에 공통으로 적용할 통화 방향입니다. inbound는 수신, outbound는 발신, both는 양방향입니다.

Available options:
inbound,
outbound,
both
memo
string | null

모든 생성 규칙에 공통으로 적용할 메모입니다. 최대 500자.

Maximum string length: 500
is_active
boolean
default:true

생성된 규칙을 현재 차단 판정에 적용할지 여부입니다.

Response

성공 응답

results
BulkBlockedNumberResultResponse · object[]
required

입력 번호별 독립 처리 결과입니다.