# Upsert custom phrases **PUT /api/custom-phrases/{languageTag}** Upsert custom phrases for the specified language tag. Upsert means that if the custom phrases already exist, they will be updated. Otherwise, they will be created. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **languageTag** (string) ### Body: application/json (object) - **[translationKey]** (string) ## Responses ### 201 Custom phrases created or updated successfully. #### Body: application/json (object) - **tenantId** (string) - **id** (string) - **languageTag** (string) - **translation** (object) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 422 Invalid translation structure. [Powered by Bump.sh](https://bump.sh)