new_releases 업데이트:
출시 노트에서 새로운 기능 및 제품 업데이트를 확인하세요.
Method: phones.capability.requestCapabilityCallback
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사용자의 기능이 포함된 콜백을 요청합니다.
이 요청 후 에이전트는 사용자 기능이 포함된 비동기 콜백을 수신합니다. 지원 중단됨: phone.getCapabilities를 대신 사용하세요.
HTTP 요청
POST https://rcsbusinessmessaging.googleapis.com/v1/{name=phones/*}/capability:requestCapabilityCallback
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
name |
string
'phones/{E.164}/capability'. 여기서 {E.164}는 E.164 형식의 사용자 전화번호입니다. 예를 들어 미국 전화번호가 +1-222-333-4444인 경우 결과로 반환되는 엔드포인트는 https://rcsbusinessmessaging.googleapis.com/v1/phones/+12223334444/capability:requestCapabilityCallback이 됩니다.
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"requestId": string
} |
필드 |
requestId |
string
에이전트가 할당한 요청의 ID입니다. https://tools.ietf.org/html/rfc4122에 정의된 대로 UUID여야 합니다. 이 요청 ID는 비동기식으로 반환되는 기능 콜백에 포함되어 있습니다.
|
응답 본문
성공하면 응답 본문은 빈 JSON 객체입니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/rcsbusinessmessaging
자세한 내용은 OAuth 2.0 Overview를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis endpoint is deprecated and should be replaced with \u003ccode\u003ephones.getCapabilities\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for requesting a callback containing a user's capabilities via an asynchronous process.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a POST HTTP request to a URL that includes the user's phone number in E.164 format.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a \u003ccode\u003erequestId\u003c/code\u003e field, which is a UUID assigned by the agent and included in the capability callback.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/rcsbusinessmessaging\u003c/code\u003e to be authorized.\u003c/p\u003e\n"]]],[],null,["# Method: phones.capability.requestCapabilityCallback\n\n| This item is deprecated!\nRequests a callback containing the capabilities of a user.\n\nFollowing this request, the agent receives an asynchronous callback with the user's capabilities. DEPRECATED: Please use phones.getCapabilities instead.\n\n### HTTP request\n\n`POST https://rcsbusinessmessaging.googleapis.com/v1/{name=phones/*}/capability:requestCapabilityCallback`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` \"phones/{E.164}/capability\", where {E.164} is the user's phone number in E.164 format. For example, with the US phone number +1-222-333-4444, the resulting endpoint would be \u003chttps://rcsbusinessmessaging.googleapis.com/v1/phones/+12223334444/capability:requestCapabilityCallback\u003e |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"requestId\": string } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestId` | `string` The ID of the request, assigned by the agent. This must be a UUID, as defined in \u003chttps://tools.ietf.org/html/rfc4122\u003e. This request ID is included in the capability callback, which returns asynchronously. |\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/rcsbusinessmessaging`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]