Table of contents

Introduction

The Mynewsdesk webservice for newsroom is a way to fetch data from your newsroom at Mynewsdesk to any system.

The webservice is built around GET requests over HTTPS. Your response will be either JSON, XML or RSS.

Before you can use the service, you need to have it activated by us and receive your unique key. The key is used in all requests for authentication.

All services share the same URL pattern:

https://www.mynewsdesk.com/services/pressroom/service_name/unique_key?
  parameter=value&
  parameter=value

The name of each of the services and their parameters are listed below.

A note on caching

To improve performance and reliability of the API we cache responses in edge locations around the world. This means that you can expect a delay of up to 60 seconds after creating, changing or deleting content on your newsrooms until the changes become visible through the API.

Services

  • list: List all materials of your newsrooms
  • view: View single material
  • search: Search for materials in your newsrooms
  • pressroom_info: View newsroom information

list - List all the materials of your newsrooms

GET https://www.mynewsdesk.com/services/pressroom/list/unique_key?
    format=[json|xml|rss]&
    type_of_media=[pressrelease|news|blog_post|event|image|video|document|contact_person]&
    limit=limit&
    offset=offset&
    order=[published|updated|created]&
    archived=[true|false]&
    strict=[true|false]&
    callback=callback&
    locale=locale&
    pressroom=country_code&
    tags=category1,category2,category3

Returns

  • 200 OK

    A list of all materials of all your pressrooms (or one of your pressrooms if pressroom is passed), filtered by the parameters. An empty list if there are no published materials.

  • 404 Not Found

    This unique key doesn't exist.

{
  "total_count": 42,
  "items": [
    {
      ...
    },
    {
      ...
    },
    ...
  ]
}

<?xml version="1.0" encoding="UTF-8"?>
<items total-count="42">
    <item>
        ...
    </item>
    <item>
        ...
    </item>
    ...
</items>

<rss xmlns:media="http://search.yahoo.com/mrss/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     version="2.0">
    <channel>
        <title>Mynewsdesk company news</title>
        <link>http://www.mynewsdesk.com/</link>
        <description>Mynewsdesk news feed directly from the source</description>
        <image>
            <title>Mynewsdesk</title>
            <link>http://www.mynewsdesk.com/</link>
            <url>http://www.mynewsdesk.com/assets/graphics/logos/logo-small.png</url>
            <width>128</width>
            <height>23</height>
        </image>
        <language>sv</language>
        <ttl>15</ttl>
        <item>
            <title>Nordic PR Awards uppmärksammar branschens riktiga hjältar</title>
            <pubDate>2022-02-16 07:30:00</pubDate>
            <description>Framgångsrik PR avgörs inte enbart av result...</description>
            <guid>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases/nor...</guid>
            <link>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases/nor...</link>
            <dc:creator>Mynewsdesk</dc:creator>
            <image>
                <url>https://resources.mynewsdesk.com/image/upload/zlywigmspc...</url>
                <title>The image caption</title>
                <link>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases...</link>
            </image>
        </item>
        <item>
            ...
        </item>
        ...
    </channel>
</rss>

See thedata structure of the materials for the returned items.

Optional parameters

  • format (Default: xml)

    Specify the format of the response: JSON (json), XML (xml) or RSS 2.0 (rss).

    The format can also be specified in the path:

    https://www.mynewsdesk.com/services/pressroom/list/unique_key[.json|.xml|.rss]?...
  • type_of_media (Default: pressrelease)

    Fetch materials of this type only.

  • limit (Default: 20)

    Set the maximum number of items in the response. Cannot be more than 100.

  • offset (Default: 0)

    Pass an offset to sequentially load more materials than requested by limit.

  • order

    Default:

    • Publication date (published) for pressreleases, news and blog posts
    • Start date for events
    • Position for images, videos, documents and contact people

    Specify the sort order of the result: publication date (published), date of latest update (updated) or creation date (created).

  • archived (Default: false)

    Only used for events. When archived is set to false (which is the default), events which ended in the past are omitted.

    The parameter is named archived for historic reasons. It has nothing to do with the feature for archiving materials.

  • strict

    Default: true for all customers who recieved their API key after March 6, 2020. false for all customers who received their API key before.

    Specify if the JSON response body should be rendered in strict mode, with the following differences:

    • Collections are always returned as arrays, no matter if the count is 0, 1 or > 1
    • All attributes that are present in the XML format are present in the JSON format in strict mode
    • Integers and booleans are not converted to strings
    • Arrays are not wrapped in a wrapper object
    • Keys with null value are never omitted
    • null is not converted to ""

    We encource all our customers to use strict mode.

    The strict param has no effect when requesting the XML or RSS format.

  • callback

    If format is JSON and callback is specified, the JSON response is wrapped in a function call with the specified callback name.

  • locale (Default: en)

    Set the locale for the response. This will translate the content of the <subjects> nodes to the passed locale. We support the following locales:

    en, ar, de, es, fr, it, ja, km, nl, pl, pt-BR, pt-PT, pt, ro, ru, tr, vi, zh-CN, zh-TW, da, nb, no, sv, es-ES, fi, id, zh, bg, ca, et, fa, he, ko, lt, lv, sk, th, uk, bg-BG, cs-CZ, el-GR, hr-HR, hu-HU, ro-RO, si, sk-SK, sl-SI, ca-CAT, da-DK, de-AT, de-CH, ee, en-AU, en-BORK, en-CA, en-GB, en-IND, en-KE, en-MS, en-NEP, en-NG, en-NZ, en-PAK, en-SG, en-TH, en-UG, en-US, en-ZA, en-au-ocker, es-AR, es-MX, fi-FI, fr-CA, fr-CH, hy, mi-NZ, nb-NO, no-NO

    Will default to en if you pass an unavailable locale.

  • pressroom (Default: all)

    Set the pressroom to define where to fetch materials from. Pass the country code of your pressroom as a value, for example se for Swedish pressrooms or uk for United Kingdom pressrooms. You can pass com for international pressrooms.

  • tags (Default: none, fetches all materials)

    Only fetch materials marked with the provided tags/categories. Multiple tags/categories can be provided as comma separated list. Use the tag's identifier of its permalink as value(s). Unknown identifiers will be ignored.

    The parameter is named "tags" for historic reasons. It has nothing to do with the feature for tagging materials.


view - View single material

GET https://www.mynewsdesk.com/services/pressroom/view/unique_key?
    format=xml|rss|json&
    item_id=id&
    type_of_media=[pressrelease|news|blog_post|event|image|video|document|contact_person]&
    strict=true|false&
    callback=callback

Returns

  • 200 OK

    A single material.

  • 404 Not Found
    • This unique key doesn't exist.
    • The item_id parameter is missing.
    • No material found for this ID and type of media.

{
  "item": [
    {
      ...
    }
  ]
}

{
  "item": {
    ...
  }
}

<?xml version="1.0" encoding="UTF-8"?>
<item>
    ...
</item>

See the data structure of the materials for the returned item.

Required parameters

  • item_id

    ID of the material to be fetched.

Optional parameters

  • format (Default: xml)

    Specify the format of the response: JSON (json) or XML (xml). You can also pass rss which will return the XML response.

    The format can also be specified in the path:

    https://www.mynewsdesk.com/services/pressroom/view/unique_key[.json|.xml]?...
  • type_of_media (Default: pressrelease)

    The type of the material to be fetched.

  • strict

    Default: true for all customers who recieved their API key after March 6, 2020. false for all customers who received their API key before.

    Specify if the JSON response body should be rendered in strict mode, with the following differences:

    • The material is wrapped into an array
    • All attributes that are present in the XML format are present in the JSON format
    • Integers and booleans are not converted to strings
    • Arrays are not wrapped in a wrapper object
    • Keys with null value are never omitted
    • null is not converted to ""

    We encource all our customers to use strict mode.

    The strict param has no effect when requesting the XML or RSS format.

  • callback

    If format is JSON and callback is specified, the JSON response is wrapped in a function call with the specified callback name.


search - Search material

GET https://www.mynewsdesk.com/services/pressroom/search/unique_key?
    query=query&
    type_of_media=[pressrelease|news|blog_post|event|image|video|document|contact_person]&
    limit=limit&
    page=page&
    strict=[true|false]&
    callback=callback&
    pressroom=pressroom&
    tags=category1,category2,category3
BEWARE

While "list" and "search" might look similar; with "search" just having an additional parameter to specify a search query. There are some important differences between the services due to their implementation:

  • If your newsroom isn't live, "search" will always return an empty list, while "list" and "view" will return results for non-live newsrooms. This is because the search is run through the newsroom search index which only contains publicly available materials.
  • The tags parameter for "list" will take the identifier for the tag's permalink as value and will do an equality match. For "search" it will take the actual tag name and will do a partial match. If you want to use the tag's permalink identifier as parameter for "search" endpoint, you can use tag_ids.
  • Both "list" and "search" allow you to paginate the results. "list" uses the offset parameter to sequentially load the results, while "search" uses page.
  • For "search" you can't specify the order of the returned results.
  • "search" doesn't support passing a locale.
  • "search" doesn't support passing archived to omit events which took place in the past. Use the date_start and date_end parameters instead.

Returns

  • 200 OK

    A list of the materials of all your pressrooms (or one of your pressrooms if pressroom is passed), which are matching the passed search query. An empty list if there are no published materials or if the pressroom isn't live.

  • 404 Not Found

    This unique key doesn't exist.

{
  "search_result": {
    "summary": {
      "nr_of_items": 20,
      "total_items": 78,
      "limit": 20,
      "page": 1,
      "page_count": 4
    },
    "items": [
      {
        ...
      },
      {
        ...
      },
      ...
    ]
  }
}

<?xml version="1.0" encoding="UTF-8"?>
<search_result>
    <summary>
        <nr_of_items>20</nr_of_items>
        <total_items>78</total_items>
        <limit>20</limit>
        <page>1</page>
        <page_count>4</page_count>
        <search_time/>
    </summary>
    <items>
        <item>
            ...
        </item>
        <item>
            ...
        </item>
        ...
    </items>
</search_result>


RSS will return the same data structure as the list endpoint.

<rss xmlns:media="http://search.yahoo.com/mrss/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     version="2.0">
    <channel>
        <title>Mynewsdesk company news</title>
        <link>http://www.mynewsdesk.com/</link>
        <description>Mynewsdesk news feed directly from the source</description>
        <image>
            <title>Mynewsdesk</title>
            <link>http://www.mynewsdesk.com/</link>
            <url>http://www.mynewsdesk.com/assets/graphics/logos/logo-small.png</url>
            <width>128</width>
            <height>23</height>
        </image>
        <language>sv</language>
        <ttl>15</ttl>
        <item>
            <title>Nordic PR Awards uppmärksammar branschens riktiga hjältar</title>
            <pubDate>2022-02-16 07:30:00</pubDate>
            <description>Framgångsrik PR avgörs inte enbart av result...</description>
            <guid>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases/nor...</guid>
            <link>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases/nor...</link>
            <dc:creator>Mynewsdesk</dc:creator>
            <image>
                <url>https://resources.mynewsdesk.com/image/upload/zlywigmspc...</url>
                <title>The image caption</title>
                <link>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases...</link>
            </image>
        </item>
        <item>
            ...
        </item>
        ...
    </channel>
</rss>

See the data structure of the materials for the returned items.

Optional parameters

  • format

    Specify the format of the response: JSON (json), XML (xml) or RSS (rss).

    The format can also be specified in the path:

    https://www.mynewsdesk.com/services/pressroom/search/unique_key[.json|.xml|.rss]?...
  • query (Default: *)

    The string to search for. The search is performed as full text search on all text fields in the material, like header, summary and body. Wildcard search with "*" is also supported.

  • type_of_media (Default: pressrelease)

    The type of material to be fetched.

  • limit (Default: 20)

    Set the maximum number of materials in the response. The limit cannot be more than 100.

  • page (Default: 1)

    Pass a page number to sequentially load more materials than requested by limit.

  • strict

    Default: true for all customers who recieved their API key after March 6, 2020. false for all customers who received their API key before.

    Specify if the JSON response body should be rendered in strict mode, with the following differences:

    • Collections are always returned as arrays, no matter if the count is 0, 1 or > 1
    • All attributes that are present in the XML format are present in the JSON format in strict mode
    • Integers and booleans are not converted to strings
    • Arrays are not wrapped in a wrapper object
    • Keys with null value are never omitted
    • null is not converted to ""

    We encource all our customers to use strict mode.

    The strict param has no effect when requesting the XML or RSS format.

  • callback

    If the format is JSON and callback is specified, the JSON response is wrapped in a function call with the specified callback name.

  • pressroom (Default: all)

    Set the pressroom to specify where to fetch materials from. Pass the country code of your pressroom as value, for example se for Swedish pressrooms or uk for United Kingdom pressrooms. You can pass com for international pressrooms.

  • tags (Default: none, fetches all materials)

    Only fetch materials marked with the provided tags/categories. Multiple tags/categories can be provided as comma separated list. Use the tag's actual name(s) as value(s). The tags will be matched using a fulltext search, so whitespaces, dashes or other special characters are ignored and materials with partially matching tag names are included.

    The parameter is named tags for historic reasons. It has nothing to do with the feature for tagging materials.

  • tag_ids (Default: none, fetches all materials)

    Only fetch materials marked with the provided tags/categories. Multiple tags/categories can be provided as comma separated list. Use the tag's identifier of its permalink as value(s). Unknown identifiers will be ignored.

  • date_mode (Default: between)

    Specifies how the date parameters are used. Valid values are: between, before or after.

    Specifying between or omitting the parameter does not enforce passing both date_start and date_end. If only date_start is passed, the system will automatically fall back to after mode. If only date_end is passed, the system will automatically fall back to before mode.

  • date_start

    Only includes materials where published date is after the passed date. Pass in format YYYY-MM-DD. The parameter will be ignored when date_mode is before.

  • date_end

    Only include materials where the published date is before the passed date. Pass in format YYYY-MM-DD. The parameter will be ignored when date_mode is after.


pressroom_info - View pressroom information

GET https://www.mynewsdesk.com/services/pressroom/pressroom_info/unique_key?
    pressroom=country_code&
    format=[xml|json]

Returns

  • 200 OK

    Information about the pressroom for the respective unique key. Will return:

    • General information like the pressroom name, description and address.
    • A tag/category cloud of the 15 most popular tags/categories used in the pressroom.
    • A list of all tag/categories of the pressroom.
    • A formatted list of all tag/categories of the pressroom, which respects capitalization.
    • The pressroom logotype.
    • A list of the links shown in the footer of the pressroom.
    • The press contacts for the pressroom.
  • 404 Not Found
    • This unique key doesn't exist.
    • There is no pressroom for the country code passed in by the pressroom parameter.

{
  "pressroom": {
    "id": 7,
    "country": {
      "name": "Sweden",
      "code": "se"
    },
    "source_name": "Mynewsdesk",
    "source_id": 25,
    "pressroom_name": "Mynewsdesk",
    "header": "Mynewsdesk - Det smarta sättet att skapa kännedom och relationer",
    "description": "Mynewsdesk hjälper företag att skapa kännedom, nå rätt målgrupp och ...",
    "address": {
      "street": "Rosenlundsgatan 40",
      "postal_code": "118 53",
      "city": "Stockholm",
      "country": "Sweden"
    },
    "tag_cloud": [
      {
        "name": "#how2pr",
        "level": 1
      },
      {
        "name": "100 million",
        "level": 2
      },
      {
        "name": "content",
        "level": 3
      },
      {
        "name": "digital pr awards",
        "level": 5
      },
      {
        "name": "event",
        "level": 4
      },
      {
        "name": "företagsnyheter",
        "level": 2
      },
      {
        "name": "mynewsday",
        "level": 2
      },
      {
        "name": "pr awards",
        "level": 1
      },
      {
        "name": "pr revolution",
        "level": 1
      },
      {
        "name": "pr workflow",
        "level": 1
      },
      {
        "name": "pracademy",
        "level": 1
      },
      {
        "name": "produktnyheter",
        "level": 1
      },
      {
        "name": "webinar",
        "level": 1
      }
    ],
    "all_tags": [
      {
        "name": "produktnyheter"
      },
      {
        "name": "content"
      },
      {
        "name": "webinar"
      },
      {
        "name": "företagsnyheter"
      },
      {
        "name": "jon"
      },
      {
        "name": "100 million"
      },
      {
        "name": "mynewsday"
      },
      {
        "name": "event"
      },
      {
        "name": "pr awards"
      },
      {
        "name": "pracademy"
      },
      {
        "name": "pr revolution"
      },
      {
        "name": "pr workflow"
      },
      {
        "name": "#how2pr"
      },
      {
        "name": "digital pr awards"
      }
    ],
    "all_tags_formatted": [
      {
        "name": "Produktnyheter"
      },
      {
        "name": "Content"
      },
      {
        "name": "webinar"
      },
      {
        "name": "företagsnyheter"
      },
      {
        "name": "jon"
      },
      {
        "name": "100 million"
      },
      {
        "name": "MyNewsday"
      },
      {
        "name": "event"
      },
      {
        "name": "PR awards"
      },
      {
        "name": "pracademy"
      },
      {
        "name": "PR revolution"
      },
      {
        "name": "PR workflow"
      },
      {
        "name": "#how2pr"
      },
      {
        "name": "digital PR awards"
      }
    ],
    "logotype": [
      {
        "url": "https://resources.mynewsdesk.com/image/upload/...",
        "size": "small"
      },
      {
        "url": "https://resources.mynewsdesk.com/image/upload/...",
        "size": "full"
      }
    ],
    "links": [
      {
        "text": "Prova Mynewsdesk",
        "url": "https://www.mynewsdesk.com/se/tour/"
      },
      {
        "text": "Support och hjälp",
        "url": "https://help.mynewsdesk.com/sv/"
      },
      {
        "text": "Mynewsdesk hemsida",
        "url": "https://www.mynewsdesk.com/se/"
      },
      {
        "text": "Mynewsdesk teknisk dokumentation",
        "url": "https://www.mynewsdesk.com/docs/"
      }
    ],
    "presscontacts": [
      {
        "name": "Jourhavande presskontakt",
        "title": "Pressfrågor",
        "specialist": null,
        "phone": null,
        "email": "press@mynewsdesk.com",
        "links": [],
        "images": [
          {
            "url": "https://resources.mynewsdesk.com/image/upload/...",
            "size": "small"
          },
          {
            "url": "https://resources.mynewsdesk.com/image/upload/...",
            "size": "full"
          }
        ]
      }
    ]
  }
}

<?xml version="1.0" encoding="UTF-8"?>
<pressroom>
    <id>7</id>
    <country code="se">Sweden</country>
    <source_name>Mynewsdesk</source_name>
    <source_id>25</source_id>
    <pressroom_name>Mynewsdesk</pressroom_name>
    <header>Mynewsdesk - Det smarta sättet att skapa kännedom och relationer</header>
    <description>
        Mynewsdesk hjälper företag att skapa kännedom, nå rätt målgrupp och bygga ...
    </description>
    <address>
        <street>Rosenlundsgatan 40</street>
        <postal_code>118 53</postal_code>
        <city>Stockholm</city>
        <country>Sweden</country>
    </address>
    <tag_cloud>
        <tag level="1">#how2pr</tag>
        <tag level="2">100 million</tag>
        <tag level="3">content</tag>
        <tag level="5">digital pr awards</tag>
        <tag level="4">event</tag>
        <tag level="2">företagsnyheter</tag>
        <tag level="2">mynewsday</tag>
        <tag level="1">pr awards</tag>
        <tag level="1">pr revolution</tag>
        <tag level="1">pr workflow</tag>
        <tag level="1">pracademy</tag>
        <tag level="1">produktnyheter</tag>
        <tag level="1">webinar</tag>
    </tag_cloud>
    <all_tags>
        <tag>produktnyheter</tag>
        <tag>content</tag>
        <tag>webinar</tag>
        <tag>företagsnyheter</tag>
        <tag>jon</tag>
        <tag>100 million</tag>
        <tag>mynewsday</tag>
        <tag>event</tag>
        <tag>pr awards</tag>
        <tag>pracademy</tag>
        <tag>pr revolution</tag>
        <tag>pr workflow</tag>
        <tag>#how2pr</tag>
        <tag>digital pr awards</tag>
    </all_tags>
    <all_tags_formatted>
        <tag>Produktnyheter</tag>
        <tag>Content</tag>
        <tag>webinar</tag>
        <tag>företagsnyheter</tag>
        <tag>jon</tag>
        <tag>100 million</tag>
        <tag>MyNewsday</tag>
        <tag>event</tag>
        <tag>PR awards</tag>
        <tag>pracademy</tag>
        <tag>PR revolution</tag>
        <tag>PR workflow</tag>
        <tag>#how2pr</tag>
        <tag>digital PR awards</tag>
    </all_tags_formatted>
    <logotype>
        <image size="small">
            https://resources.mynewsdesk.com/image/upload/...
        </image>
        <image size="full">
            https://resources.mynewsdesk.com/image/upload/...
        </image>
    </logotype>
    <links>
        <link text="Prova Mynewsdesk" url="https://www.mynewsdesk.com/se/tour/"/>
        <link text="Support och hjälp" url="https://help.mynewsdesk.com/sv/"/>
        <link text="Mynewsdesk hemsida" url="https://www.mynewsdesk.com/se/"/>
        <link text="Mynewsdesk teknisk dokumentation" url="https://www.mynewsdesk.com/docs/"/>
    </links>
    <presscontacts>
        <contact>
            <name>Jourhavande presskontakt</name>
            <title>Pressfrågor</title>
            <email>press@mynewsdesk.com</email>
            <images>
                <image size="small">
                    https://resources.mynewsdesk.com/image/upload/...
                </image>
                <image size="full">
                    https://resources.mynewsdesk.com/image/upload/...
                </image>
            </images>
        </contact>
    </presscontacts>
</pressroom>

Optional parameters

  • format

    Specify the format of the response: XML (xml) or JSON (json).

    The format can also be specified in the path:

    https://www.mynewsdesk.com/services/pressroom/pressroom_info/unique_key[.xml|.json]?...
  • pressroom (Default: Your first pressroom)

    Set the pressroom to specify where to fetch materials from. Pass the country code of your pressroom as value, for example se for Swedish pressrooms or uk for United Kingdom pressrooms. You can pass com for international pressrooms.

Data structure of the different material types

The JSON data structure shows strict mode, which is enforced for all unique keys generated after March 6, 2020.

Pressrelease

{
  "newsdeskML": "2.1",
  "type_of_media": "pressrelease",
  "language": "sv",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 3162227,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/pressreleases/nordic-pr-awards-u...",
  "published_at": {
    "text": "2022-02-16 07:30:00",
    "datetime": "2022-02-16T06:30:00Z"
  },
  "created_at": {
    "text": "2022-02-15 11:15:34",
    "datetime": "2022-02-15T10:15:34Z"
  },
  "updated_at": {
    "text": "2022-02-21 16:46:47",
    "datetime": "2022-02-21T15:46:47Z"
  },
  "links": [
    {
      "text": "link name",
      "url": "link URL"
    },
    {
      "text": "link name",
      "url": "link URL"
    }
  ],
  "header": "Nordic PR Awards uppmärksammar branschens riktiga hjältar",
  "summary": "Framgångsrik PR avgörs inte enbart av resultatet, vägen dit är minst ...",
  "body": "<p><strong>Framgångsrik PR avgörs inte enbart av resultatet, vägen dit ...",
  "boilerplate": "<p><strong>Om Mynewsdesk - Det smarta sättet att skapa kännedom ...",
  "image_caption": "The image caption",
  "image": "https://resources.mynewsdesk.com/image/upload/...",
  "image_small": "https://resources.mynewsdesk.com/image/upload/...",
  "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_large": "https://resources.mynewsdesk.com/image/...",
  "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/...",
  "image_thumbnail_small": "https://resources.mynewsdesk.com/image/...",
  "tags": [
    {
      "name": "PR Awards",
      "url": "https://www.mynewsdesk.com/se/tag/digital-pr-awards/news"
    }
  ],
  "subjects": [
    {
      "name": "PR, Communication",
      "id": "PRAA",
      "parent_id": "MEDI"
    },
    {
      "name": "New media",
      "id": "NYMA",
      "parent_id": "MEDI"
    },
    {
      "name": "PR, Communication",
      "id": "PRAB",
      "parent_id": "TJAN"
    }
  ],
  "geographic_areas": [
    {
      "name": "Enköping",
      "id": "ENKO",
      "parent_id": "UPPS"
    },
    {
      "name": "Västernorrland",
      "id": "VASA",
      "parent_id": null
    }
  ],
  "contact_people": [
    {
      "source_id": 25,
      "source_name": "Mynewsdesk",
      "pressroom_name": "Mynewsdesk",
      "pressroom": "se",
      "pressroom_id": 7,
      "organization_number": "556634-1276",
      "id": 108149,
      "url": "https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149",
      "published_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "created_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "updated_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "position": 0,
      "links": [
        {
          "text": "link name",
          "url": "link URL"
        },
        {
          "text": "link name",
          "url": "link URL"
        }
      ],
      "name": "Jourhavande presskontakt",
      "title": "Pressfrågor",
      "specialist": null,
      "phone": null,
      "email": "press@mynewsdesk.com",
      "pressroom_contact": true,
      "image": "https://resources.mynewsdesk.com/image/upload/...",
      "image_small": "https://resources.mynewsdesk.com/image/upload/...",
      "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_large": "https://resources.mynewsdesk.com/image/...",
      "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/...",
      "image_thumbnail_small": "https://resources.mynewsdesk.com/image/..."
    }
  ],
  "related_items": [
    {
      "item_id": 3082438,
      "type_of_media": "pressrelease"
    },
    {
      "item_id": 106396,
      "type_of_media": "blog_post"
    },
    {
      "item_id": 106463,
      "type_of_media": "blog_post"
    },
    {
      "item_id": 2430363,
      "type_of_media": "image"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>pressrelease</type_of_media>
<language>sv</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>3162227</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/pressreleases/nordic-pr-awards-...</url>
<published_at datetime="2022-02-16T06:30:00Z">2022-02-16 07:30:00</published_at>
<created_at datetime="2022-02-15T10:15:34Z">2022-02-15 11:15:34</created_at>
<updated_at datetime="2022-02-21T15:46:47Z">2022-02-21 16:46:47</updated_at>

<links>
    <link text="link name" url="link URL"/>
    <link text="link name" url="link URL"/>
</links>

<header>Nordic PR Awards uppmärksammar branschens riktiga hjältar</header>
<summary>Framgångsrik PR avgörs inte enbart av resultatet, vägen dit är  ...</summary>
<body><p><strong>Framgångsrik PR avgörs inte enbart av resulta ...</strong></p></body>
<boilerplate><p><strong>Om Mynewsdesk - Det smarta sätt ...</strong></p></boilerplate>

<image_caption>The image caption</image_caption>
<image>https://resources.mynewsdesk.com/image/upload/...</image>
<image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
<image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
<image_thumbnail_large>https://resources.mynewsdesk.com/image/upload/...</image_thumbnail_large>
<image_thumbnail_medium>https://resources.mynewsdesk.com/image/upload/...</image_thumbnail_medium>
<image_thumbnail_small>https://resources.mynewsdesk.com/image/upload/...</image_thumbnail_small>

<tags>
    <tag url="https://www.mynewsdesk.com/se/tag/digital-pr-awards">
        PR Awards
    </tag>
    <tag url="http://www.mynewsdesk.com/tag/other-tag-name/pressreleases">
        Other tag name
    </tag>
</tags>

<subjects>
    <subject id="NYMA" parent_id="MEDI">New media</subject>
    <subject id="PRAA" parent_id="MEDI">PR, Communication</subject>
    <subject id="PRAB" parent_id="TJAN">PR, Communication</subject>
</subjects>

<geographic_areas>
    <geographic_area parent_id="UPPS" id="ENKO">Enköping</geographic_area>
    <geographic_area parent_id="" id="VASA">Västernorrland</geographic_area>
</geographic_areas>

<contact_people>
    <contact_person>
        <source_id>25</source_id>
        <source_name>Mynewsdesk</source_name>
        <pressroom_name>Mynewsdesk</pressroom_name>
        <pressroom>se</pressroom>
        <pressroom_id>7</pressroom_id>
        <organization_number>556634-1276</organization_number>
        <id>108149</id>
        <url>https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149</url>
        <published_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:...</published_at>
        <created_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</created_at>
        <updated_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</updated_at>
        <position>0</position>
        <links>
            <link text="link name" url="link URL"/>
            <link text="link name" url="link URL"/>
        </links>
        <name>Jourhavande presskontakt</name>
        <title>Pressfrågor</title>
        <specialist/>
        <phone/>
        <email>press@mynewsdesk.com</email>
        <pressroom_contact>true</pressroom_contact>
        <image>https://resources.mynewsdesk.com/image/upload/...</image>
        <image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
        <image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
        <image_thumbnail_large>https://resources.mynewsdesk...</image_thumbnail_large>
        <image_thumbnail_medium>https://resources.mynewsde...</image_thumbnail_medium>
        <image_thumbnail_small>https://resources.mynewsdesk...</image_thumbnail_small>
    </contact_person>
</contact_people>

<related_items>
    <related_item item_id="3082438" type_of_media="pressrelease"/>
    <related_item item_id="106396" type_of_media="blog_post"/>
    <related_item item_id="106463" type_of_media="blog_post"/>
    <related_item item_id="2430363" type_of_media="image"/>
</related_items>

News

{
  "newsdeskML": "2.1",
  "type_of_media": "news",
  "language": "sv",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 441501,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/news/nytt-utseende-samma-smarta-pla",
  "published_at": {
    "text": "2022-02-02 11:33:22",
    "datetime": "2022-02-02T10:33:22Z"
  },
  "created_at": {
    "text": "2022-01-28 17:21:16",
    "datetime": "2022-01-28T16:21:16Z"
  },
  "updated_at": {
    "text": "2022-02-02 11:33:22",
    "datetime": "2022-02-02T10:33:22Z"
  },
  "links": [
    {
      "text": "link name",
      "url": "link URL"
    },
    {
      "text": "link name",
      "url": "link URL"
    }
  ],
  "header": "Nytt utseende - samma smarta plattform",
  "summary": "Mynewsdesk fortsätter att transformera PR- och kommunikationsbranschen...",
  "body": "<h3><strong>Mynewsdesk fortsätter att transformera PR- och ...",
  "image_caption": "The image caption",
  "image": "https://resources.mynewsdesk.com/image/upload/...",
  "image_small": "https://resources.mynewsdesk.com/image/upload/...",
  "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/...",
  "tags": {
    "tag": "Företagsnyheter"
  },
  "subjects": [
    {
      "name": "PR, Communication",
      "id": "PRAA",
      "parent_id": "MEDI"
    },
    {
      "name": "New media",
      "id": "NYMA",
      "parent_id": "MEDI"
    },
    {
      "name": "PR, Communication",
      "id": "PRAB",
      "parent_id": "TJAN"
    }
  ],
  "geographic_areas": [
    {
      "name": "Enköping",
      "id": "ENKO",
      "parent_id": "UPPS"
    },
    {
      "name": "Västernorrland",
      "id": "VASA",
      "parent_id": null
    }
  ],
  "contact_people": [
    {
      "source_id": 25,
      "source_name": "Mynewsdesk",
      "pressroom_name": "Mynewsdesk",
      "pressroom": "se",
      "pressroom_id": 7,
      "organization_number": "556634-1276",
      "id": 108149,
      "url": "https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149",
      "published_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "created_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "updated_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "position": 0,
      "links": [
        {
          "text": "link name",
          "url": "link URL"
        },
        {
          "text": "link name",
          "url": "link URL"
        }
      ],
      "name": "Jourhavande presskontakt",
      "title": "Pressfrågor",
      "specialist": null,
      "phone": null,
      "email": "press@mynewsdesk.com",
      "pressroom_contact": true,
      "image": "https://resources.mynewsdesk.com/image/upload/...",
      "image_small": "https://resources.mynewsdesk.com/image/upload/...",
      "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/..."
    }
  ],
  "related_items": {
    "related_item": [
      {
        "item_id": "3150706",
        "type_of_media": "pressrelease"
      },
      {
        "item_id": "3158383",
        "type_of_media": "pressrelease"
      },
      {
        "item_id": "440025",
        "type_of_media": "news"
      },
      {
        "item_id": "100248",
        "type_of_media": "event"
      },
      {
        "item_id": "2417892",
        "type_of_media": "image"
      },
      {
        "item_id": "2417767",
        "type_of_media": "image"
      }
    ]
  }
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>news</type_of_media>
<language>sv</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>441501</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/news/nytt-utseende-samma-smarta-pl</url>
<published_at datetime="2022-02-02T10:33:22Z">2022-02-02 11:33:22</published_at>
<created_at datetime="2022-01-28T16:21:16Z">2022-01-28 17:21:16</created_at>
<updated_at datetime="2022-02-02T10:33:22Z">2022-02-02 11:33:22</updated_at>

<links>
    <link text="link name" url="link URL"/>
    <link text="link name" url="link URL"/>
</links>

<header>Nytt utseende - samma smarta plattform</header>
<summary>Mynewsdesk fortsätter att transformera PR- och kommunikationsbra...</summary>
<body><h3><strong>Mynewsdesk fortsätter att transformera PR- o...</strong></h3></body>

<image_caption>The image caption</image_caption>
<image>https://resources.mynewsdesk.com/image/upload/...</image>
<image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
<image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
<image_thumbnail_large>https://resources.mynewsdesk.com/ima...</image_thumbnail_large>
<image_thumbnail_medium>https://resources.mynewsdesk.com/i...</image_thumbnail_medium>
<image_thumbnail_small>https://resources.mynewsdesk.com/ima...</image_thumbnail_small>

<tags>
    <tag url="https://www.mynewsdesk.com/se/tag/foeretagsnyheter/news">
        Företagsnyheter
    </tag>
    <tag url="http://www.mynewsdesk.com/tag/other-tag-name/pressreleases">
        Other tag name
    </tag>
</tags>

<subjects>
    <subject id="NYMA" parent_id="MEDI">New media</subject>
    <subject id="PRAA" parent_id="MEDI">PR, Communication</subject>
    <subject id="PRAB" parent_id="TJAN">PR, Communication</subject>
</subjects>

<geographic_areas>
    <geographic_area parent_id="UPPS" id="ENKO">Enköping</geographic_area>
    <geographic_area parent_id="" id="VASA">Västernorrland</geographic_area>
</geographic_areas>

<contact_people>
    <contact_person>
        <source_id>25</source_id>
        <source_name>Mynewsdesk</source_name>
        <pressroom_name>Mynewsdesk</pressroom_name>
        <pressroom>se</pressroom>
        <pressroom_id>7</pressroom_id>
        <organization_number>556634-1276</organization_number>
        <id>108149</id>
        <url>https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149</url>
        <published_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:...</published_at>
        <created_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</created_at>
        <updated_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</updated_at>
        <position>0</position>
        <links>
            <link text="link name" url="link URL"/>
            <link text="link name" url="link URL"/>
        </links>
        <name>Jourhavande presskontakt</name>
        <title>Pressfrågor</title>
        <specialist/>
        <phone/>
        <email>press@mynewsdesk.com</email>
        <pressroom_contact>true</pressroom_contact>
        <image>https://resources.mynewsdesk.com/image/upload/...</image>
        <image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
        <image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
        <image_thumbnail_large>https://resources.mynewsdesk...</image_thumbnail_large>
        <image_thumbnail_medium>https://resources.mynewsde...</image_thumbnail_medium>
        <image_thumbnail_small>https://resources.mynewsdesk...</image_thumbnail_small>
    </contact_person>
</contact_people>

<related_items>
    <related_item item_id="3150706" type_of_media="pressrelease"/>
    <related_item item_id="3158383" type_of_media="pressrelease"/>
    <related_item item_id="440025" type_of_media="news"/>
    <related_item item_id="100248" type_of_media="event"/>
    <related_item item_id="2417892" type_of_media="image"/>
    <related_item item_id="2417767" type_of_media="image"/>
</related_items>

Blog Post

{
  "newsdeskML": "2.1",
  "type_of_media": "blog_post",
  "language": "sv",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 106463,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/blog_posts/pr-award-jurymedlem-h...",
  "published_at": {
    "text": "2022-02-23 12:00:00",
    "datetime": "2022-02-23T11:00:00Z"
  },
  "created_at": {
    "text": "2022-02-23 11:42:09",
    "datetime": "2022-02-23T10:42:09Z"
  },
  "updated_at": {
    "text": "2022-02-24 16:59:09",
    "datetime": "2022-02-24T15:59:09Z"
  },
  "links": [
    {
      "text": "link name",
      "url": "link URL"
    },
    {
      "text": "link name",
      "url": "link URL"
    }
  ],
  "header": "PR Award: jurymedlem Hanna Brogren om nyfikenhet, ledarskap och mod",
  "summary": "Det har blivit dags att avslöja ytterligare en av jurymedlemmarna i ...",
  "body": "<p><strong>Det har blivit dags att avslöja ytterligare en av ...",
  "image_caption": "The image caption",
  "image": "https://resources.mynewsdesk.com/image/upload/...",
  "image_small": "https://resources.mynewsdesk.com/image/upload/...",
  "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/...",
  "tags": [
    {
      "name": "PR Awards",
      "url": "https://www.mynewsdesk.com/se/tag/pr-awards/news"
    }
  ],
  "subjects": [
    {
      "name": "New media",
      "id": "NYMA",
      "parent_id": "MEDI"
    },
    {
      "name": "PR, Communication",
      "id": "PRAA",
      "parent_id": "MEDI"
    },
    {
      "name": "PR, Communication",
      "id": "PRAB",
      "parent_id": "TJAN"
    }
  ],
  "geographic_areas": [
    {
      "name": "Enköping",
      "id": "ENKO",
      "parent_id": "UPPS"
    },
    {
      "name": "Västernorrland",
      "id": "VASA",
      "parent_id": null
    }
  ],
  "contact_people": [
    {
      "source_id": 25,
      "source_name": "Mynewsdesk",
      "pressroom_name": "Mynewsdesk",
      "pressroom": "se",
      "pressroom_id": 7,
      "organization_number": "556634-1276",
      "id": 108149,
      "url": "https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149",
      "published_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "created_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "updated_at": {
        "text": "2020-07-01 14:11:28",
        "datetime": "2020-07-01T12:11:28Z"
      },
      "position": 0,
      "links": [
        {
          "text": "link name",
          "url": "link URL"
        },
        {
          "text": "link name",
          "url": "link URL"
        }
      ],
      "name": "Jourhavande presskontakt",
      "title": "Pressfrågor",
      "specialist": null,
      "phone": null,
      "email": "press@mynewsdesk.com",
      "pressroom_contact": true,
      "image": "https://resources.mynewsdesk.com/image/upload/...",
      "image_small": "https://resources.mynewsdesk.com/image/upload/...",
      "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
      "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/...",
    }
  ],
  "related_items": [
    {
      "item_id": 3162227,
      "type_of_media": "pressrelease"
    },
    {
      "item_id": 106396,
      "type_of_media": "blog_post"
    },
    {
      "item_id": 2438842,
      "type_of_media": "image"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>blog_post</type_of_media>
<language>sv</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>106463</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/blog_posts/pr-award-jurymedlem-...</url>
<published_at datetime="2022-02-23T11:00:00Z">2022-02-23 12:00:00</published_at>
<created_at datetime="2022-02-23T10:42:09Z">2022-02-23 11:42:09</created_at>
<updated_at datetime="2022-02-24T15:59:09Z">2022-02-24 16:59:09</updated_at>

<links>
    <link text="link name" url="link URL"/>
    <link text="link name" url="link URL"/>
</links>

<header>PR Award: jurymedlem Hanna Brogren om nyfikenhet, ledarskap och mod</header>
<summary>Det har blivit dags att avslöja ytterligare en av jurymedlemmarn...</summary>
<body><p><strong>Det har blivit dags att avslöja ytterligare en...</strong></p></body>

<image_caption>The image caption</image_caption>
<image>https://resources.mynewsdesk.com/image/upload/...</image>
<image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
<image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
<image_thumbnail_large>https://resources.mynewsdesk.com/ima...</image_thumbnail_large>
<image_thumbnail_medium>https://resources.mynewsdesk.com/i...</image_thumbnail_medium>
<image_thumbnail_small>https://resources.mynewsdesk.com/ima...</image_thumbnail_small>

<tags>
    <tag url="https://www.mynewsdesk.com/se/tag/pr-awards/blog_post">PR Awards</tag>
</tags>

<subjects>
    <subject id="NYMA" parent_id="MEDI">New media</subject>
    <subject id="PRAA" parent_id="MEDI">PR, Communication</subject>
    <subject id="PRAB" parent_id="TJAN">PR, Communication</subject>
</subjects>

<geographic_areas>
    <geographic_area parent_id="UPPS" id="ENKO">Enköping</geographic_area>
    <geographic_area parent_id="" id="VASA">Västernorrland</geographic_area>
</geographic_areas>

<contact_people>
    <contact_person>
        <source_id>25</source_id>
        <source_name>Mynewsdesk</source_name>
        <pressroom_name>Mynewsdesk</pressroom_name>
        <pressroom>se</pressroom>
        <pressroom_id>7</pressroom_id>
        <organization_number>556634-1276</organization_number>
        <id>108149</id>
        <url>https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149</url>
        <published_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:...</published_at>
        <created_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</created_at>
        <updated_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</updated_at>
        <position>0</position>
        <links>
            <link text="link name" url="link URL"/>
            <link text="link name" url="link URL"/>
        </links>
        <name>Jourhavande presskontakt</name>
        <title>Pressfrågor</title>
        <specialist/>
        <phone/>
        <email>press@mynewsdesk.com</email>
        <pressroom_contact>true</pressroom_contact>
        <image>https://resources.mynewsdesk.com/image/upload/...</image>
        <image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
        <image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
        <image_thumbnail_large>https://resources.mynewsdesk...</image_thumbnail_large>
        <image_thumbnail_medium>https://resources.mynewsde...</image_thumbnail_medium>
        <image_thumbnail_small>https://resources.mynewsdesk...</image_thumbnail_small>
    </contact_person>
</contact_people>

<related_items>
    <related_item item_id="3162227" type_of_media="pressrelease"/>
    <related_item item_id="106396" type_of_media="blog_post"/>
    <related_item item_id="2438842" type_of_media="image"/>
</related_items>

Event

{
  "newsdeskML": "2.1",
  "type_of_media": "event",
  "language": "en",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 100363,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/events/coffee-og-communication-w...",
  "published_at": {
    "text": "2022-02-17 14:16:51",
    "datetime": "2022-02-17T13:16:51Z"
  },
  "created_at": {
    "text": "2022-02-17 14:07:57",
    "datetime": "2022-02-17T13:07:57Z"
  },
  "updated_at": {
    "text": "2022-02-17 14:16:51",
    "datetime": "2022-02-17T13:16:51Z"
  },
  "links": [],
  "header": "Coffee & Communication webinar: Demystifying AI within PR",
  "summary": "<h3>In today’s PR and communications landscape, relevance is becoming...",
  "start_at": {
    "text": "2022-02-24 10:00:00",
    "datetime": "2022-02-24T09:00:00Z"
  },
  "end_at": {
    "text": "2022-02-24 10:30:00",
    "datetime": "2022-02-24T09:30:00Z"
  },
  "location": "Online",
  "signup_url": "https://library.mynewsdesk.com/coffeecomms_ai",
  "image": "https://resources.mynewsdesk.com/image/upload/...",
  "image_small": "https://resources.mynewsdesk.com/image/upload/...",
  "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/...",
  "tags": [
    {
      "name": "Webinar",
      "url": "https://www.mynewsdesk.com/se/tag/webinar/news"
    }
  ],
  "related_items": [
    {
      "item_id": 2432455,
      "type_of_media": "image"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>event</type_of_media>
<language>en</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>100363</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/events/coffee-og-communication-...</url>
<published_at datetime="2022-02-17T13:16:51Z">2022-02-17 14:16:51</published_at>
<created_at datetime="2022-02-17T13:07:57Z">2022-02-17 14:07:57</created_at>
<updated_at datetime="2022-02-17T13:16:51Z">2022-02-17 14:16:51</updated_at>

<header>Coffee & Communication webinar: Demystifying AI within PR</header>
<summary><h3>In today’s PR and communications landscape, relevance i...</h3></summary>

<start_at datetime="2022-02-24T09:00:00Z">2022-02-24 10:00:00</start_at>
<end_at datetime="2022-02-24T09:30:00Z">2022-02-24 10:30:00</end_at>
<location>Online</location>
<signup_url>https://library.mynewsdesk.com/coffeecomms_ai</signup_url>

<image>https://resources.mynewsdesk.com/image/upload/...</image>
<image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
<image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
<image_thumbnail_large>https://resources.mynewsdesk.com/ima...</image_thumbnail_large>
<image_thumbnail_medium>https://resources.mynewsdesk.com/i...</image_thumbnail_medium>
<image_thumbnail_small>https://resources.mynewsdesk.com/ima...</image_thumbnail_small>

<tags>
    <tag url="https://www.mynewsdesk.com/se/tag/webinar/events">Webinar</tag>
</tags>

<related_items>
    <related_item item_id="2432455" type_of_media="image"/>
</related_items>

Image

{
  "newsdeskML": "2.1",
  "type_of_media": "image",
  "language": "fr",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 2393905,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/images/product-improvements-punk...",
  "published_at": {
    "text": "2021-12-22 15:00:00",
    "datetime": "2021-12-22T14:00:00Z"
  },
  "created_at": {
    "text": "2021-12-22 13:42:26",
    "datetime": "2021-12-22T12:42:26Z"
  },
  "updated_at": {
    "text": "2022-01-31 11:13:52",
    "datetime": "2022-01-31T10:13:52Z"
  },
  "position": 0,
  "header": "Product improvements.png",
  "summary": "Description of the image",
  "photographer": "Photographer or source",
  "image_name": "Product improvements.png",
  "image_format": ".png",
  "image_size": 1720144,
  "image_dimensions": "1920 x 1080",
  "image_license": "Media Use",
  "image": "https://resources.mynewsdesk.com/image/upload/...",
  "download_url": "https://resources.mynewsdesk.com/image/upload/...",
  "image_small": "https://resources.mynewsdesk.com/image/upload/...",
  "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/...",
  "tags": [
    {
      "name": "PR Awards",
      "url": "https://www.mynewsdesk.com/se/tag/digital-pr-awards/news"
    }
  ],
  "related_items": [
    {
      "item_id": 440025,
      "type_of_media": "news"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>image</type_of_media>
<language>fr</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>2393905</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/images/product-improvements-pun...</url>
<published_at datetime="2021-12-22T14:00:00Z">2021-12-22 15:00:00</published_at>
<created_at datetime="2021-12-22T12:42:26Z">2021-12-22 13:42:26</created_at>
<updated_at datetime="2022-01-31T10:13:52Z">2022-01-31 11:13:52</updated_at>
<position>0</position>

<header>Product improvements.png</header>
<summary>Description of the image</summary>
<photographer>Photographer or source</photographer>

<image_name>Product improvements.png</image_name>
<image_format>.png</image_format>
<image_size>1720144</image_size>
<image_dimensions>1920 x 1080</image_dimensions>
<image_license>Media Use</image_license>

<image>https://resources.mynewsdesk.com/image/upload/...</image>
<download_url>https://resources.mynewsdesk.com/image/upload/...</download_url>
<image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
<image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
<image_thumbnail_large>https://resources.mynewsdesk.com/ima...</image_thumbnail_large>
<image_thumbnail_medium>https://resources.mynewsdesk.com/i...</image_thumbnail_medium>
<image_thumbnail_small>https://resources.mynewsdesk.com/ima...</image_thumbnail_small>

<tags>
    <tag url="https://www.mynewsdesk.com/se/tag/digital-pr-awards">
        PR Awards
    </tag>
    <tag url="http://www.mynewsdesk.com/tag/other-tag-name/pressreleases">
        Other tag name
    </tag>
</tags>

<related_items>
    <related_item item_id="440025" type_of_media="news"/>
</related_items>

Video

{
  "newsdeskML": "2.1",
  "type_of_media": "video",
  "language": "en",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 113411,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/videos/lotta-anestedt-destinatio...",
  "published_at": {
    "text": "2021-07-02 13:53:59",
    "datetime": "2021-07-02T11:53:59Z"
  },
  "created_at": {
    "text": "2021-07-02 13:51:46",
    "datetime": "2021-07-02T11:51:46Z"
  },
  "updated_at": {
    "text": "2021-07-02 13:54:00",
    "datetime": "2021-07-02T11:54:00Z"
  },
  "position": 1,
  "header": "Lotta Anestedt, Destination Lofsdalen - Newsroom of the Year Sweden",
  "summary": "Intervju med Lotta Anestedt från Destination Lofsdalen, vinnare av Ne...",
  "video_name": "Lotta_Destination_Lofs_20210429.mp4",
  "download_url": "https://download.screen9.com/bBYlRybkzxJAUW6az730pF2HRNKPI1IVb9C...",
  "video_license": "Media Use",
  "video_url": "https://bcdn.screen9.com/ovh/production/media/e/K/eKFO6MV6a9zMGbKRP...",
  "embed_code": "<object width=\"454\" height=\"255\"><param name=\"movie\" value=...",
  "thumbnail": "https://resources.mynewsdesk.com/image/upload/...",
  "thumbnail_poster": "https://resources.mynewsdesk.com/image/upload/ihiprg7gbnukdh...",
  "duration": "1:39",
  "tags": [
    {
      "name": "PR Awards",
      "url": "https://www.mynewsdesk.com/se/tag/digital-pr-awards/news"
    }
  ],
  "related_items": [
    {
      "item_id": 3082438,
      "type_of_media": "pressrelease"
    },
    {
      "item_id": 113410,
      "type_of_media": "video"
    },
    {
      "item_id": 113409,
      "type_of_media": "video"
    },
    {
      "item_id": 113407,
      "type_of_media": "video"
    },
    {
      "item_id": 113408,
      "type_of_media": "video"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>video</type_of_media>
<language>en</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>113411</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/videos/lotta-anestedt-destinati...</url>
<published_at datetime="2021-07-02T11:53:59Z">2021-07-02 13:53:59</published_at>
<created_at datetime="2021-07-02T11:51:46Z">2021-07-02 13:51:46</created_at>
<updated_at datetime="2021-07-02T11:54:00Z">2021-07-02 13:54:00</updated_at>
<position>1</position>

<header>Lotta Anestedt, Destination Lofsdalen - Newsroom of the Year Sweden</header>
<summary>Intervju med Lotta Anestedt från Destination Lofsdalen, vinnare ...</summary>
<video_name>Lotta_Destination_Lofs_20210429.mp4</video_name>
<download_url>https://download.screen9.com/bBYlRybkzxJAUW6az730pF2HR...</download_url>
<video_license>Media Use</video_license>
<video_url>https://bcdn.screen9.com/ovh/production/media/e/K/eKFO6MV6a9...</video_url>
<embed_code>
    <![CDATA[
        <object width="454" height="255">
            <param name="movie" value="https://bcdn.screen9.com/ovh/production/me...">
            <param name="wmode" value="transparent">
            <param name="allowscriptaccess" value="always">
            <param name="allowfullscreen" value="true">
            <embed src="https://bcdn.screen9.com/ovh/production/media/e/K/eKFO6MV6..."
                   type="application/x-shockwave-flash"
                   quality="high"
                   allowfullscreen="true"
                   allowscriptaccess="always"
                   wmode="transparent"
                   width="454"
                   height="255">
            </embed>
        </object>
    ]]>
</embed_code>
<thumbnail>https://resources.mynewsdesk.com/image/upload/...</thumbnail>
<thumbnail_poster>https://resources.mynewsdesk.com/image/upload/...</thumbnail_poster>
<duration>1:39</duration>

<tags>
    <tag url="https://www.mynewsdesk.com/tag/tag-name/events">
        Tag name
    </tag>
    <tag url="https://www.mynewsdesk.com/tag/other-tag-name/events">
        Other tag name
    </tag>
</tags>

<related_items>
    <related_item item_id="3082438" type_of_media="pressrelease"/>
    <related_item item_id="113410" type_of_media="video"/>
    <related_item item_id="113409" type_of_media="video"/>
    <related_item item_id="113407" type_of_media="video"/>
    <related_item item_id="113408" type_of_media="video"/>
</related_items>

Document

{
  "newsdeskML": "2.1",
  "type_of_media": "document",
  "language": "sv",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 75728,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/documents/journalister-och-socia...",
  "published_at": {
    "text": "2018-03-16 09:51:00",
    "datetime": "2018-03-16T08:51:00Z"
  },
  "created_at": {
    "text": "2018-02-20 20:05:33",
    "datetime": "2018-02-20T19:05:33Z"
  },
  "updated_at": {
    "text": "2022-01-27 13:32:43",
    "datetime": "2022-01-27T12:32:43Z"
  },
  "position": 1,
  "header": "Rapport: Journalister och sociala medier",
  "summary": "Description of the document",
  "document_name": "Journalister och sociala medier.pdf",
  "document_format": ".pdf",
  "document_size": 803887,
  "document_thumbnail": "https://resources.mynewsdesk.com/image/upload...",
  "document": "https://resources.mynewsdesk.com/image/upload/qbq7h0ysqznvbphl43ya.pdf",
  "tags": [
    {
      "name": "Content",
      "url": "https://www.mynewsdesk.com/se/tag/content/news"
    }
  ],
  "related_items": [
    {
      "item_id": 84256,
      "type_of_media": "event"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>document</type_of_media>
<language>sv</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>75728</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/documents/journalister-och-soci...</url>
<published_at datetime="2018-03-16T08:51:00Z">2018-03-16 09:51:00</published_at>
<created_at datetime="2018-02-20T19:05:33Z">2018-02-20 20:05:33</created_at>
<updated_at datetime="2022-01-27T12:32:43Z">2022-01-27 13:32:43</updated_at>
<position>1</position>

<header>Rapport: Journalister och sociala medier</header>
<summary>Description of the document</summary>

<document_name>Journalister och sociala medier.pdf</document_name>
<document_format>.pdf</document_format>
<document_size>803887</document_size>
<document_thumbnail>https://resources.mynewsdesk.com/image/upl...</document_thumbnail>
<document>https://resources.mynewsdesk.com/image/upload/qbq7h0ysqznvbphl...</document>

<tags>
    <tag url="https://www.mynewsdesk.com/se/tag/content/documents">Content</tag>
</tags>

<related_items>
    <related_item item_id="84256" type_of_media="event"/>
</related_items>

Contact Person

The url for a single contact person is returned by the API for historic reasons. It will redirect to the contact people page of your newsroom.

{
  "newsdeskML": "2.1",
  "type_of_media": "contact_person",
  "language": "no",
  "source_id": 25,
  "source_name": "Mynewsdesk",
  "pressroom_name": "Mynewsdesk",
  "pressroom": "se",
  "pressroom_id": 7,
  "organization_number": "556634-1276",
  "id": 108149,
  "url": "https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149",
  "published_at": {
    "text": "2020-07-01 14:11:28",
    "datetime": "2020-07-01T12:11:28Z"
  },
  "created_at": {
    "text": "2020-07-01 14:11:28",
    "datetime": "2020-07-01T12:11:28Z"
  },
  "updated_at": {
    "text": "2020-07-01 14:11:28",
    "datetime": "2020-07-01T12:11:28Z"
  },
  "position": 0,
  "links": [
    {
      "text": "link name",
      "url": "link URL"
    },
    {
      "text": "link name",
      "url": "link URL"
    }
  ],
  "name": "Jourhavande presskontakt",
  "title": "Pressfrågor",
  "specialist": "Area of responsibility",
  "phone": "Phone number",
  "email": "press@mynewsdesk.com",
  "pressroom_contact": true,
  "image": "https://resources.mynewsdesk.com/image/upload/...",
  "image_small": "https://resources.mynewsdesk.com/image/upload/...",
  "image_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_large": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_medium": "https://resources.mynewsdesk.com/image/upload/...",
  "image_thumbnail_small": "https://resources.mynewsdesk.com/image/upload/...",
  "related_items": [
    {
      "item_id": 3074249,
      "type_of_media": "pressrelease"
    }
  ]
}

<newsdeskML>2.1</newsdeskML>
<type_of_media>contact_person</type_of_media>
<language>no</language>

<!-- Only used in partner API -->
<channels>
    <channel id="123">Channel one</channel>
    <channel id="124">Channel two</channel>
</channels>

<source_id>25</source_id>
<source_name>Mynewsdesk</source_name>
<pressroom_name>Mynewsdesk</pressroom_name>
<pressroom>se</pressroom>
<pressroom_id>7</pressroom_id>
<organization_number>556634-1276</organization_number>
<id>108149</id>
<url>https://www.mynewsdesk.com/se/mynewsdesk/contact_people/108149</url>
<published_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</published_at>
<created_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</created_at>
<updated_at datetime="2020-07-01T12:11:28Z">2020-07-01 14:11:28</updated_at>
<position>0</position>

<links>
    <link text="link name" url="link URL"/>
    <link text="link name" url="link URL"/>
</links>

<name>Jourhavande presskontakt</name>
<title>Pressfrågor</title>
<specialist>Area of responsibility</specialist>
<phone>Phone number</phone>
<email>press@mynewsdesk.com</email>
<pressroom_contact>true</pressroom_contact>

<image>https://resources.mynewsdesk.com/image/upload/...</image>
<image_small>https://resources.mynewsdesk.com/image/upload/...</image_small>
<image_medium>https://resources.mynewsdesk.com/image/upload/...</image_medium>
<image_thumbnail_large>https://resources.mynewsdesk.com/ima...</image_thumbnail_large>
<image_thumbnail_medium>https://resources.mynewsdesk.com/i...</image_thumbnail_medium>
<image_thumbnail_small>https://resources.mynewsdesk.com/ima...</image_thumbnail_small>

<related_items>
    <related_item item_id="3074249" type_of_media="pressrelease"/>
</related_items>

Tips & Tricks

Align the URLs of the materials in your newsroom

If you want the correct material to load in your newsrooms when clicking on a link in an email, you need to enable the redirect to your newsrooms in the newsroom settings and align the URLs of the material with your own newsroom URLs.

Go to the hosted newsroom settings and enable the CNAME integration for hosted newsrooms. Then enter the domain of the page you are using our API under "Your own subdomain (CNAME)" and choose "Hosted newsroom" under "Redirection URL":


Note 1: You will get a warning that we can't find the CNAME record for your domain, as shown in the example above. This is expected and can be ignored for the API integration.

Note 2: Although the field is named "Your own subdomain", it will also work for apex domains.

With the settings shown in the screenshot, requests to
https://codemocracy-global.mynewsdesk.com/pressreleases/my-pressrelease-123456
(which is the URL used in the emails) will be redirected to
https://example.com/pressreleases/my-pressrelease-123456.

Now make your server respond to these URLs with the corresponding material. The URL scheme is as follows:

https://your-domain.com/type_of_media/unique_key