Skip to contentDevelopersPrezly website
Newsroom languages

Get Newsroom Languages

List the newsroom’s configured locales and identify its default language.

Personal token scopes: sites:read. Your account must also have access to the requested data. Authentication

Read the guide

GET
/newsrooms/{newsroom_id}/languages

Sorting modes

  • display_name
  • stories_count

Personal access tokens: sites:read. Every listed scope is required; the token owner's permissions, feature availability and newsroom access still apply.

Authorization

API_key
headerAuthorizationBearer <token>

Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.

Path Parameters

newsroom_id*string

Newsroom UUID or ID

Length1 <= length

Query Parameters

sort?string
Match[-+]?(\w+\.)*\w+

Response Body

OK

application/json
  1. response
languages?array<>
sort?Sort Order

Sort order to return records in.

Match[+-]?(\w+\.)*\w+
Example Request
curl -X GET 'https://api.prezly.com/v2/newsrooms/string/languages'
Example Response200
{  "languages": [    {      "code": "en",      "locale": {        "code": "en",        "name": "string",        "direction": "ltr",        "language_code": "en",        "native_name": "string"      },      "is_default": true,      "stories_count": 0,      "categories_count": 0,      "company_information": {        "name": "string",        "about": "string",        "email": "user@example.com",        "website": "http://example.com",        "phone": "string",        "address": "string",        "twitter": "string",        "facebook": "string",        "linkedin": "string",        "pinterest": "string",        "youtube": "string",        "instagram": "string",        "tiktok": "string",        "discord": "string",        "skype": "string",        "snapchat": "string",        "twitch": "string",        "email_disclaimer": "string",        "cookie_statement": "string",        "subscribe_disclaimer": "string"      },      "public_stories_count": 0,      "default_email_disclaimer": "string",      "default_cookie_statement": "string",      "default_subscribe_disclaimer": "string"    }  ],  "sort": "+display_name"}