Create Newsroom Contact
Create a newsroom press-contact card, separate from your CRM contacts.
Personal token scopes: sites:write. Your account must also have access to the requested data. Authentication
Create a new Press Contact in a given Newsroom.
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_id*stringNewsroom UUID or ID
1 <= lengthapplication/json- body
name*string1 <= lengthemail?|emailphone?string|nullmobile?string|nullcompany?string|nulldescription?string|nullwebsite?|uritwitter?|length <= 50facebook?string|nullavatar_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.
Created
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 POST 'https://api.prezly.com/v2/newsrooms/string/contacts' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "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" } ] }}