# 애플리케이션 API 키 추가

> How to automate the process of adding an application API key.

**원격 API 활성화** 체크박스를 활성화하면 cURL, ARC(Advanced REST Client), Postman과 같은 툴로 `developer-api.vivox.com/api/v1/applications/remote-api/key/add`에 위치한 REST 엔드포인트를 호출하여 애플리케이션 API 키 추가 프로세스를 자동화할 수 있습니다.

> **Note:**
>
> API 키는 한 번에 최대 2개만 가질 수 있습니다.

다음은 cURL을 사용하여 ‘somenewkey’ 애플리케이션 API 키를 추가하는 방법의 예제를 보여 주는 코드입니다.

```plaintext
curl "https://developer-api.vivox.com/api/v1/applications/remote-api/key/add" -X POST -d
"{\"remoteApiUsername\":\"remote-api-username-from-org-settings-page\",\"remoteApiPassword\":\"remote-api-password-from-org-settings-page\",\"issuer\":\"issuer-from-app-details-page\",\"key\":\"somenewkey\"}"
```

다음과 같은 포맷의 응답은 키를 성공적으로 추가했음을 나타냅니다.

`{"statusCode":200,"data":"some-new-key"}`
