--- title: "acceptReceivedInvitation" slug: "pub-organization-v2-account-acceptreceivedinvitation" updated: 2026-11-24T09:24:32Z published: 2026-11-24T09:24:32Z canonical: "api.ncloud-docs.com/pub-organization-v2-account-acceptreceivedinvitation" --- > ## 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. # acceptReceivedInvitation 이 가이드는 API 명세를 기반으로 자동 생성했습니다. Classic/VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. 받은 Organization 초대를 승인합니다. - 초대받은 독립 계정이 호출하며, Organization 초대 알림 메일로 받은 핀 코드가 필요합니다. - 핀 코드를 4회 잘못 입력하면 같은 계정과 클라이언트 IP에서는 24시간 동안 승인할 수 없습니다. - 매월 1일과 2일에 승인하면 가입 대기 상태로 등록되고, 이후 가입 처리됩니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /open-api/v2/received-invitations/{organizationNo}/accept | ### 요청 헤더 Organization API에서 공통으로 사용하는 헤더에 대한 정보는 [Organization 요청 헤더](/docs/pub-organization-v2-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `organizationNo` | Integer (int32) | Required | 초대한 Organization 번호. 받은 초대 목록 조회(`GET /received-invitations`)로 확인할 수 있음 - 범위: 1 ~ - <예시> 2712 | ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `pinCode` | String | Required | 인증용 핀 코드(숫자 6자리). 수신한 Organization 초대 알림 메일에서 확인 - 패턴: `^[0-9]{6}$` - 길이: 6 ~ 6 - <예시> 123456 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://organization.apigw.ntruss.com/open-api/v2/received-invitations/2712/accept' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "pinCode": "123456" }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 상태 코드 호출에 실패하면 [기본 오류 응답](/docs/type-error-response) 형식의 응답 바디를 반환하며, 오류 코드는 `error.errorCode` 값입니다. 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 204 | - | - | 초대 승인 완료 | | 400 | `BadRequest` | `The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.` | 요청 바디가 JSON 형식이 아니거나, 필수 필드(pinCode)를 지정하지 않았거나 null로 지정한 경우. 요청 바디를 확인한 뒤 다시 요청 | | 400 | `InvalidParameter` | `The specified parameter is invalid.` | organizationNo가 1 이상의 정수가 아니거나, pinCode가 숫자 6자리가 아니거나 초대 메일의 핀 코드와 다른 경우. 초대 메일의 핀 코드를 확인한 뒤 다시 요청. 초대 유효 기간이 지난 경우도 같은 응답이며(detail로 만료를 안내), 마스터 계정에 초대를 다시 요청 | | 402 | `PaymentRequired` | `Payment is required to process this request. Check your billing status.` | 미납된 서비스 이용 요금이 있는 경우. 미납 요금을 납부한 뒤 다시 요청 | | 403 | `AccessDenied` | `The request was denied by an access policy.` | 민간 회원이 아닌 계정으로 호출한 경우. 민간 회원 계정의 인증 정보로 다시 요청 | | 403 | `Forbidden` | `You do not have sufficient permissions to perform this action.` | 서브 계정으로 호출했는데 이 API를 호출할 권한이 없는 경우. 서브 계정에 필요한 권한을 부여한 뒤 다시 요청 | | 404 | `ResourceNotFound` | `The specified resource could not be found.` | 지정한 Organization(organizationNo)의 활성 초대(승인·거절·취소되지 않은 초대)가 없는 경우, 초대한 마스터 계정이나 호출한 계정의 회원 정보를 확인할 수 없는 경우. 받은 초대 목록 조회로 초대를 확인한 뒤 다시 요청 | | 409 | `Conflict` | `The request could not be processed because of a conflict in the current status of the resource.` | 이미 Organization에 가입한 계정인 경우 가입한 Organization에서 탈퇴한 뒤 다시 요청. 파트너 회원 체결·탈퇴나 파트너 코드 변경이 예정된 경우 예정된 변경이 끝난 뒤 다시 요청. 개인 계정이거나 사업자·기관 계정이 아니거나, 초대한 마스터 계정과 회원 유형·계정 구분(사업자/기관)·사업자 번호(기관 고유번호)가 다르거나, 파트너 대표 계정이거나 파트너 코드가 다른 경우 이 Organization에는 가입할 수 없음 | | 415 | `UnsupportedMediaType` | `The content type of the request body is not supported.` | 요청 바디의 Content-Type이 application/json이 아닌 경우. Content-Type: application/json을 지정해 다시 요청 | | 429 | `TooManyRequests` | `Too many requests were sent in a short period. Retry your request later.` | 핀 코드를 잘못 입력한 횟수가 제한을 초과한 경우. 24시간이 지난 뒤 다시 요청 | | 500 | `InternalServerError` | `The request processing has failed because of an unknown error, exception, or failure.` | 초대를 승인하는 중 오류가 발생한 경우. 잠시 후 다시 요청 | | 502 | `BadGateway` | `The server received an invalid response from an upstream service. Retry your request later.` | 서브 계정의 권한을 확인하지 못한 경우. 잠시 후 다시 요청 | 참고 Organization API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Organization 응답 상태 코드](/docs/pub-organization-v2-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오.