Skip to contentDevelopersPrezly website
Press contacts

Update Newsroom Contact

Update selected press-contact fields or replace its display locales.

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

Read the guide

PATCH
/newsrooms/{newsroom_id}/contacts/{newsroom_contact_id}

Update Newsroom Contact properties.

Personal access tokens: sites:write. 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_contact_id*string

Newsroom Contact UUID or ID

Length1 <= length
newsroom_id*string

Newsroom UUID or ID

Length1 <= length

Request Body

application/json
  1. body
name?string
email?string
Formatemail
phone?string
mobile?string
company?string
description?string
website?string
Formaturi
twitter?string
facebook?string
avatar_image?||null
is_featured?boolean

Featured contacts are displayed on the Newsroom index page.

display_locales?array<>

Locales the Contact can be displayed in. Leave this empty to display in all locales.

Response Body

OK

application/json
  1. response
contact?

Newsroom Contact is a contact card displayed on newsroom index page or can be embedded into stories as cards.

Example Request
curl -X PATCH 'https://api.prezly.com/v2/newsrooms/string/contacts/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "contact": {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "id": 0,    "name": "string",    "email": "user@example.com",    "phone": "string",    "mobile": "string",    "company": "string",    "description": "string",    "website": "http://example.com",    "twitter": "string",    "facebook": "http://example.com",    "avatar_image": {      "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",      "version": 0,      "filename": "string",      "mime_type": "string",      "size": 0,      "original_width": 0,      "original_height": 0,      "effects": [        "string"      ]    },    "is_featured": true,    "display_locales": [      {        "code": "en",        "name": "string",        "direction": "ltr",        "language_code": "en",        "native_name": "string"      }    ]  }}