Skip to content

REST API Overview

The Comvi REST API gives you programmatic access to all platform features. Use it to automate translation workflows, build custom integrations, or manage content from your CI/CD pipeline.

https://api.comvi.io/api/v1

All API requests require authentication. Comvi supports two methods:

For server-to-server integrations and CI/CD pipelines. Pass the key in the X-API-Key header:

Terminal window
curl -H "X-API-Key: your-api-key" \
https://api.comvi.io/api/v1/projects

Create API keys in the platform under Settings > API Keys. See Authentication for details.

For browser-based access (used by the Comvi dashboard internally). Session cookies are set after login.

  • Content-Type: application/json for request bodies
  • Accept: application/json for responses
  • Character encoding: UTF-8

All responses return JSON:

{
"id": 1,
"name": "my-project",
"createdAt": "2025-01-15T10:30:00Z"
}

List endpoints return paginated results using cursor-based pagination:

{
"data": [...],
"nextCursor": "eyJpZCI6MTAwfQ=="
}
ParameterTypeDescription
cursorstringCursor from previous response’s nextCursor
limitnumberItems per page (default: 50, max: 100)

Errors return a consistent format:

{
"statusCode": 404,
"error": "NOT_FOUND",
"message": "Project not found",
"meta": {
"projectId": 123
}
}
FieldTypeDescription
statusCodenumberHTTP status code
errorstringMachine-readable error code
messagestringHuman-readable description
metaobjectAdditional context (optional)

See Error Reference for a complete list of error codes.

The API applies a default global rate limit of 500 requests per minute.

Some endpoints define stricter route-specific limits, such as machine translation suggestion and CDN deployment endpoints.

When rate-limited, the API returns 429 Too Many Requests with a Retry-After header.

SectionDescription
AuthenticationAPI keys, sessions, CSRF
ProjectsCreate, update, list projects
TranslationsCRUD for translation keys and values
LanguagesManage project languages
NamespacesOrganize keys into namespaces
Import/ExportBulk import and export operations
Machine TranslationAI-powered translation
OrganizationsOrganization management
MembersTeam member management
API KeysManage API keys
CDNPublish and purge CDN
WebhooksEvent notifications
GlossariesTerminology management
Translation MemoryTranslation memory
Error ReferenceComplete error code list