메시지·인증

문자 발신번호 목록

Markdown으로 보기
GET
/v1/accounts/{accountId}/sender-numbers

문자 발송에 쓸 수 있도록 등록된 발신번호와, 등록하지 않았지만 유예 기간이라 아직 쓸 수 있는 번호, 070번호·대표번호 회선 수 한도를 함께 돌려줍니다.

발신번호 범위를 지정한 API 키로 호출하면 그 범위 안의 번호만 보입니다.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달

In: header

Path Parameters

accountId*string

계정 ID

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/accounts/AC1a2b3c4d/sender-numbers"
{
  "senderNumbers": [
    {
      "id": "cmh1sn0000001",
      "number": "07052361008",
      "type": "070",
      "verificationMethod": "own_provisioned",
      "status": "approved",
      "createdAt": "2026-10-20T07:02:11.000Z"
    }
  ],
  "grace": [
    {
      "number": "07052753809",
      "expiresAt": "2026-11-03T14:59:59.000Z"
    }
  ],
  "limit": {
    "used": 2,
    "limit": 3,
    "reached": false
  }
}
{
  "error": "string",
  "code": "recipient_blocked",
  "ip": "52.79.213.41",
  "processedAt": "2026-10-21T04:10:34.303Z",
  "blockers": [
    {
      "number": "07012340002",
      "code": "number_not_carrier_issued",
      "message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
    }
  ]
}
{
  "error": "string",
  "code": "recipient_blocked",
  "ip": "52.79.213.41",
  "processedAt": "2026-10-21T04:10:34.303Z",
  "blockers": [
    {
      "number": "07012340002",
      "code": "number_not_carrier_issued",
      "message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
    }
  ]
}