Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
languages
cURL
curl --request POST \
  --url https://{deployment}.convex.site/v1/projects/{projectId}/languages \
  --header 'Content-Type: application/json' \
  --data '
{
  "locale": "fr-FR"
}
'
{
  "success": true,
  "locale": "<string>"
}

Path Parameters

projectId
string
required
Minimum string length: 1
Example:

"proj_abc123"

Body

application/json
locale
string
required
Example:

"fr-FR"

Response

200 - application/json

Language added successfully

success
boolean
required
locale
string
required