# Get application custom domains. **GET /api/applications/{id}/protected-app-metadata/custom-domains** Get custom domains of the specified application, the application type should be protected app. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (string) The unique identifier of the application. ## Responses ### 200: An array of the application custom domains. #### Body Parameters: application/json (array[object]) - **domain** (string) - **status** (string) - **errorMessage** (string | null) - **dnsRecords** (array[object]) - **cloudflareData** (object | null) ### 400: Faild to sync the domain info from remote provider. ### 401: Unauthorized ### 403: Forbidden ### 404: Not Found ### 501: Not Implemented [Powered by Bump.sh](https://bump.sh)