List Translations

GET {{baseUrl}}/api/v2/help_center/articles/:article_id/translations?locales=<string>&outdated=<boolean>&draft=<boolean>

Lists all translations for a given article, section, or category.

Allowed for

  • End users

For end users, the response will list only the translations for articles, sections, or categories that they can view in Help Center.

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Request Params

KeyDatatypeRequiredDescription
localesstringThe value given is a comma-separated list of locale names;
only return translations in those locales
outdatedstringOnly return translations with the given outdated status
draftstringOnly return translations with the given draft status

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;translations&quot;:[{&quot;locale&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;body&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_by_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;draft&quot;:&quot;\u003cboolean\u003e&quot;,&quot;html_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;outdated&quot;:&quot;\u003cboolean\u003e&quot;,&quot;source_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;source_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_by_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;},{&quot;locale&quot;:&quot;\u003cstring\u003e&quot;,&quot;title&quot;:&quot;\u003cstring\u003e&quot;,&quot;body&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_by_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;draft&quot;:&quot;\u003cboolean\u003e&quot;,&quot;html_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;outdated&quot;:&quot;\u003cboolean\u003e&quot;,&quot;source_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;source_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_by_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;}]}