> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFEntityGetAPIEndpoint

> 엔터티 핸들과 연결된 PFServiceConfig의 API 엔드포인트를 가져옵니다.

엔터티 핸들과 연결된 PFServiceConfig의 API 엔드포인트를 가져옵니다.

## Syntax

```cpp theme={null}
HRESULT PFEntityGetAPIEndpoint(  
    PFEntityHandle entityHandle,  
    size_t apiEndpointSize,  
    char* apiEndpoint,  
    size_t* apiEndpointUsed  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

인증 호출에서 반환된 PFEntityHandle입니다.

**`apiEndpointSize`**   size\_t

제공된 버퍼의 크기입니다. 필요한 크기는 PFEntityGetAPIEndpointSize를 통해 얻을 수 있습니다.

**`apiEndpoint`**   char\*<br />*Out\_writes(apiEndpointSize)*

API 엔드포인트 문자열이 기록될 버퍼입니다.

**`apiEndpointUsed`**   size\_t\*<br />*optional output*

null 종결자를 포함하여 버퍼에서 사용된 바이트 수입니다.

### Return value

Type: HRESULT

이 API 작업의 결과 코드입니다.

## Requirements

**Header:** PFEntity.h

## See also

[PFEntity members](/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [Services C API 개요 - PFEntity.h](/ko/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [엔터티 핸들](/ko/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetAPIEndpointSize](/ko/services/playfab/api-references/c/pfentity/functions/pfentitygetapiendpointsize.md)
- [PartyEndpoint::GetEntityId](/ko/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentityid.md)
- [PartyEndpoint::GetEntityType](/ko/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentitytype.md)
