--- title: "발송 요청 조회" slug: "sens-mail-request-get" updated: 2026-09-17T09:15:58Z published: 2026-09-17T09:15:58Z canonical: "api.ncloud-docs.com/sens-mail-request-get" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 발송 요청 조회

Classic/VPC 환경에서 이용 가능합니다.

메일 발송 요청 1건의 상태와 처리 통계를 조회합니다. [메일 발송 요청 생성](/docs/sens-mail-request-create) API가 반환한 `requestId`로 조회하며, 발송 진행 상황을 추적하는 데 사용합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /mail/v2/services/{serviceId}/requests/{requestId} | ### 요청 헤더 Simple & Easy Notification Service API에서 공통으로 사용하는 헤더에 대한 정보는 [Simple & Easy Notification Service 요청 헤더](/docs/sens-overview#요청헤더)를 참조해 주십시오. | 필드 | 필수 여부 | 설명 | | --- | --- | --- | | `x-ncp-lang` | Optional | 응답 메시지 언어 | ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `serviceId` | String | Required | 메일 서비스 아이디 | | `requestId` | String | Required | 발송 요청 아이디 | ### 요청 예시 요청 예시는 다음과 같습니다. ```shell curl --location --request GET 'https://sens.apigw.ntruss.com/mail/v2/services/ncp:mail:kr:1********2:main/requests/20260712-R-01K0ZQ8YV3M4N5P6R7S8T9VAWX-777' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'x-ncp-lang: ko-KR' ``` ## 응답 응답 형식을 설명합니다. ### 응답 헤더 응답 헤더에 대한 설명은 다음과 같습니다. | 필드 | 필수 여부 | 설명 | | --- | --- | --- | | `retry-after` | - | 다음 폴링까지 대기할 시간(초) | ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `requestId` | String | - | 발송 요청 아이디 | | `status` | String | - | 발송 요청 상태 | | `createDateTime` | String | - | 발송 요청 접수 일시 | | `requestCount` | Integer | - | 발송 메일 건수 | | `readyCount` | Integer | - | 저장이 완료된 메일 건수 | | `sentCount` | Integer | - | 발송에 성공한 메일 건수 | | `finishCount` | Integer | - | 처리가 종료된 메일 건수 | | `reservationDateTime` | String | - | 예약 발송 일시 | | `countsByStatus` | Array | - | 메일 상태별 건수 분포: [countsByStatus](#countsbystatus) | #### `countsByStatus` `countsByStatus`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `status` | String | - | 발송 상태 | | `count` | Integer | - | 해당 상태인 메일 건수 | :::(Info) (참고) * `status`가 종료 상태에 도달하기 전까지는 응답에 `retry-after` 헤더가 포함됩니다. 그 값(초)만큼 대기한 뒤 다시 조회해 주십시오. * 수신 거부·발송 차단으로 발송되지 않은 수신자는 성공으로 집계되지 않습니다. 실패·오류의 구체적인 원인은 [메일 상세 조회](/docs/sens-mail-get) API의 `recipients[].sendResultCode`로 확인해 주십시오. ::: ### 응답 상태 코드 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 200 | - | OK | 요청 성공 | | 400 | InvalidParameter | Bad Request | 요청 파라미터 오류 | | 401 | Unauthorized | Unauthorized | 인증 실패 | | 403 | Forbidden | Forbidden | 경로의 `serviceId`에 대한 권한 없음 | | 404 | NotFound | Not Found | 경로의 `requestId`가 존재하지 않음 | | 500 | InternalServerError | Internal Server Error | 서버 내부 오류 | :::(Info) (참고) Simple & Easy Notification Service의 다른 API와 달리, 메일 v2 API는 NCP API 표준 오류 형식으로 오류를 반환합니다. 응답 바디의 `status`, `error`(문자열) 필드 대신 아래의 `error` 객체가 반환됩니다. ::: #### 오류 응답 바디 호출이 실패한 경우 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `error` | Object | - | 오류 정보 | | `error.errorCode` | String | - | 오류 코드 | | `error.message` | String | - | 오류 코드별 고정 메시지 | | `error.detail` | String | - | 요청별 상세 사유 | | `error.fieldErrors` | Array | - | 파라미터별 오류 목록 | #### 오류 응답 예시 호출이 실패한 경우의 응답 예시는 다음과 같습니다. ```json { "error": { "errorCode": "NotFound", "message": "The requested resource was not found." } } ``` ### 응답 예시 응답 예시는 다음과 같습니다. ```json { "requestId": "20260712-R-01K0ZQ8YV3M4N5P6R7S8T9VAWX-777", "status": "COMPLETED", "createDateTime": "2026-07-12T10:00:00+09:00", "requestCount": 35179, "readyCount": 35179, "sentCount": 33502, "finishCount": 35179, "reservationDateTime": null, "countsByStatus": [ { "status": "COMPLETED", "count": 33502 }, { "status": "FAILED", "count": 1415 }, { "status": "UNSUBSCRIBED", "count": 262 } ] } ```