ClawOps Docs
API Reference

SIP 자격증명 발급

POST
/v1/accounts/{accountId}/sip-credentials

외부 SIP 단말 인증용 digest 자격증명 1개 발급. realm 은 자동 생성 ({accountId_lower}.sip.claw-ops.com). 평문 password 는 응답에 1회만 노출되며 저장되지 않음. password 미지정 시 안전한 랜덤 32자 자동 생성.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달

In: header

Path Parameters

accountId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/accounts/AC1a2b3c4d/sip-credentials" \  -H "Content-Type: application/json" \  -d '{    "name": "Acme WebRTC 앱",    "username": "webrtc_acme01"  }'
{
  "id": "string",
  "accountId": "string",
  "name": "Acme WebRTC 앱",
  "username": "webrtc_acme01",
  "realm": "ac1a2b3c4d.sip.claw-ops.com",
  "enabled": true,
  "status": "active",
  "ipAclId": "string",
  "allowedNumbers": [
    "string"
  ],
  "lastUsedAt": "2019-08-24T14:15:22Z",
  "dateCreated": "2019-08-24T14:15:22Z",
  "dateUpdated": "2019-08-24T14:15:22Z",
  "password": "string"
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}
{
  "error": "string",
  "code": "INVALID_PHONE_NUMBER"
}