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
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.
API_keyAuthorizationBearer <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.
newsroom_contact_id*stringNewsroom Contact UUID or ID
1 <= lengthnewsroom_id*stringNewsroom UUID or ID
1 <= lengthapplication/json- body
name?stringemail?stringemailphone?stringmobile?stringcompany?stringdescription?stringwebsite?stringuritwitter?stringfacebook?stringavatar_image?||nullis_featured?booleanFeatured 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.
OK
application/json- response
contact?Newsroom Contact is a contact card displayed on newsroom index page or can be embedded into stories as cards.
curl -X PATCH 'https://api.prezly.com/v2/newsrooms/string/contacts/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "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" } ] }}