> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.claw-ops.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.claw-ops.com/_mcp/server.

# 수신거부 항목 조회

GET https://api.claw-ops.com/v1/accounts/{accountId}/blocked-recipients/{blockId}

수신거부 항목 하나의 상세를 조회합니다. 해제된 항목도 이력으로 남아 있어 조회되며, 이때 active 는 false 입니다.

Reference: https://docs.claw-ops.com/api-레퍼런스/claw-ops-api/blocked-recipients/get-blocked-recipient

## Authentication

- `Authorization` header (bearer token, required) — API Key를 Bearer 토큰으로 전달

## Request

### Path parameters

- `accountId` (string, required) — 계정 ID
- `blockId` (string, required) — 수신거부 항목 id

## Response

### 200

수신거부 항목 상세

- `id` (string, optional) — 수신거부 항목 id
- `number` (string, optional) — 수신거부한 상대 번호. 하이픈·+82 형태로 보내도 국내 표기로 정규화되어 저장·응답됩니다.
- `channel` (enum, optional) — 차단 채널. call=전화, message=문자(SMS/LMS/MMS 공통). 같은 번호라도 채널마다 별개 항목입니다.
  - Allowed values: `call`, `message`
- `active` (boolean, optional) — 지금 차단 중인지 여부. 해제된 항목도 이력으로 남아 조회되므로 이 값으로 구분합니다.
- `source` (string, optional) — 접수 경로. 공개 API 로 등록하면 api·console·import 중 하나입니다. ARS(수신거부 9번)·문자 회신 등 내부 접수 경로로 등록된 항목은 ars·sms·agent 로 나타납니다.
- `sourceRef` (string, optional, nullable) — 증빙 링크. 어느 통화에서 수신거부를 눌렀는지 / 어느 문자에 회신했는지. 가리키는 대상은 source 가 결정합니다.
- `note` (string, optional, nullable) — 자유 메모
- `createdBy` (string, optional, nullable) — 등록 주체(콘솔 사용자 등). 자동 접수는 null 입니다.
- `createdAt` (datetime, optional) — 수신거부 접수 시각
- `updatedAt` (datetime, optional)
- `unblockedAt` (datetime, optional, nullable) — 해제 시각. null 이면 차단 중입니다. 해제해도 항목은 삭제되지 않고 이력으로 남습니다.
- `unblockedSource` (string, optional, nullable) — 해제 경로
- `unblockedBy` (string, optional, nullable) — 해제 주체. 자동 해제는 null 입니다.
- `unblockedNote` (string, optional, nullable) — 해제 사유 메모

## Examples

**Response**

```json
{
  "id": "clx9blk00001",
  "number": "01012345678",
  "channel": "call",
  "active": true,
  "source": "api",
  "sourceRef": "CA1a2b3c4d5e",
  "note": "상담 중 재연락 거부 의사 밝힘",
  "createdBy": null,
  "createdAt": "2024-01-15T09:30:00Z",
  "updatedAt": "2024-01-15T09:30:00Z",
  "unblockedAt": "2024-01-15T09:30:00Z",
  "unblockedSource": "api",
  "unblockedBy": "string",
  "unblockedNote": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.claw-ops.com/v1/accounts/AC1a2b3c4d/blocked-recipients/clx9blk00001")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```