Prezly

App · 26 actions

Write and publish newsroom stories, keep your media contacts and log press coverage in Prezly.

Actions

ActionWhat it does
Create contactAdd a person or organisation to your Prezly contacts.
Create storyCreate a draft story in a newsroom from a title and HTML text.
Delete contactDelete a contact from Prezly.
Delete coverageDelete a coverage entry.
Get campaignGet one email campaign's details and results.
Get contactGet one contact's details.
Get coverageGet one coverage entry's details.
Get newsroomGet one newsroom's details.
Get pitchGet one email pitch's details and results.
Get storyGet one story's details.
List campaignsList your email campaigns with how each did.
List contactsList the journalists, people and organisations in your Prezly contacts.
List coverageList the press coverage logged in Prezly.
List newsroom categoriesList the categories stories can be filed under in a newsroom.
List newsroom subscribersList the people subscribed to a newsroom's updates, newest first.
List newsroomsList the newsrooms you can reach in Prezly.
List pitchesList the one-to-one email pitches sent to journalists.
List storiesList stories and press releases across your newsrooms.
Log coverageLog an article or broadcast that covered you.
Publish storyPublish a story in its newsroom now.
Replace story textReplace a story's title and text with new HTML.
Schedule storySet a story to publish at a later time.
Subscribe to newsroomSubscribe an email address to a newsroom's updates, without a confirmation email.
Unpublish storyTake a published story back to a draft.
Update contactChange a contact's details.
Update storyChange a story's language, visibility, categories, tags or web address.

Create contact

Add a person or organisation to your Prezly contacts.

Inputs

Typecontact_typetextRequired
Whether the contact is a person or an organisation.One of: person, organisation.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name.
Organisation namecompany_nametext
The organisation's name. Needed when the contact is an organisation.
Job titlefunction_nametext
The person's job title.
Email addressesemailslist
The contact's email addresses.
Works fororganisationslist
Names of the organisations the person works for.
Tagstagslist
Tags to give the contact.
Languageslanguageslist
Two-letter codes of the languages the contact uses, such as en or fr.
Media typesmedium_typeslist
The kinds of media the contact works in.One or more of: wire, print, radio, photo, newspaper, magazine, tv, blog, vlog, social, and 7 more.
Citycitytext
The city the contact is in.
Countrycountrytext
The country the contact is in.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "contact": {
      "address": {
        "city": "Ghent",
        "country": "BE",
        "region": "East Flanders"
      },
      "company_name": "",
      "contact_type": "person",
      "coverage_number": 2,
      "created_at": "2026-11-30T09:00:00+00:00",
      "display_name": "Jane Reporter",
      "emails": [
        "jane@news.example"
      ],
      "first_name": "Jane",
      "function_name": "Tech editor",
      "id": 1234,
      "is_bounced": false,
      "is_unsubscribed": false,
      "last_name": "Reporter",
      "medium_types": [
        "web"
      ],
      "modified_at": "2026-11-30T09:30:00+00:00",
      "organisations": [
        {
          "display_name": "Daily News",
          "id": 99
        }
      ],
      "primary_email": "jane@news.example",
      "tags": [
        "tech"
      ]
    }
  }
}

Create story

Create a draft story in a newsroom from a title and HTML text.

Inputs

NewsroomnewsroomtextRequired
The newsroom to create the story in.
TitletitletextRequired
The story's title.
Subtitlesubtitletext
The story's subtitle.
TexthtmltextRequired
The story's text as HTML, such as <p>Our news</p>. Images in it are uploaded to Prezly.
Languageculturetext
The story's language code, such as en or en_US. Leave empty for the newsroom's default.
Visibilityvisibilitytext
Who will be able to see the story once it is published.One of: public, embargo (Under embargo), private, confidential.
Category IDscategorieslist
IDs of newsroom categories to file it under, from List newsroom categories.
Tagstagslist
Tags to give the story.
Web address slugcustom_slugtext
The last part of the story's web address, such as acme-opens-office.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

Delete contact

Delete a contact from Prezly.

Inputs

Contact IDidtextRequired
The contact's ID, from List contacts or Create contact.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {}
}

Delete coverage

Delete a coverage entry.

Inputs

Coverage IDidtextRequired
The coverage entry's ID, from List coverage or Log coverage.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {}
}

Get campaign

Get one email campaign's details and results.

Inputs

Campaign IDidnumberRequired
The campaign's ID, from List campaigns.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "campaign": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "created_at": "2026-11-29T09:00:00+00:00",
      "id": 501,
      "lifecycle_status": "sent",
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "recipients_number": 120,
      "scheduled_at": "2026-11-30T08:00:00+00:00",
      "sent_at": "2026-11-30T08:00:00+00:00",
      "stats": {
        "bounces": 2,
        "clicks": 20,
        "clicks_rate": 0.17,
        "delivered": 118,
        "opens": 60,
        "opens_rate": 0.5,
        "recipients": 120,
        "replies": 3
      },
      "subject": "Acme opens new office",
      "updated_at": "2026-11-30T09:00:00+00:00"
    }
  }
}

Get contact

Get one contact's details.

Inputs

Contact IDidtextRequired
The contact's ID, from List contacts or Create contact.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "contact": {
      "address": {
        "city": "Ghent",
        "country": "BE",
        "region": "East Flanders"
      },
      "company_name": "",
      "contact_type": "person",
      "coverage_number": 2,
      "created_at": "2026-11-30T09:00:00+00:00",
      "display_name": "Jane Reporter",
      "emails": [
        "jane@news.example"
      ],
      "first_name": "Jane",
      "function_name": "Tech editor",
      "id": 1234,
      "is_bounced": false,
      "is_unsubscribed": false,
      "last_name": "Reporter",
      "medium_types": [
        "web"
      ],
      "modified_at": "2026-11-30T09:30:00+00:00",
      "organisations": [
        {
          "display_name": "Daily News",
          "id": 99
        }
      ],
      "primary_email": "jane@news.example",
      "tags": [
        "tech"
      ]
    }
  }
}

Get coverage

Get one coverage entry's details.

Inputs

Coverage IDidtextRequired
The coverage entry's ID, from List coverage or Log coverage.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "coverage": {
      "created_at": "2026-11-30T09:00:00+00:00",
      "display_name": "Acme opens new office - Daily News",
      "headline": "Acme opens new office",
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "published_at": "2026-11-30T08:00:00+00:00",
      "sentiment": "positive",
      "type": "online",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "url": "https://news.example/acme-office",
      "user": {
        "display_name": "Jane Doe",
        "id": 42
      },
      "uuid": "0b6f3d5c-2b8e-4c7a-9a51-6f1d2e3c4b5a",
      "view_url": "https://news.example/acme-office"
    }
  }
}

Get newsroom

Get one newsroom's details.

Inputs

Newsroomnewsroom_idtextRequired
The newsroom. Pick one, or use a newsroom ID from List newsrooms.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "newsroom": {
      "campaigns_number": 3,
      "display_name": "Acme Newsroom",
      "domain": "acme.prezly.com",
      "is_active": true,
      "is_archived": false,
      "is_hub": false,
      "is_multilingual": false,
      "is_online": true,
      "name": "Acme",
      "stories_number": 12,
      "subdomain": "acme",
      "timezone": "europe/brussels",
      "url": "https://acme.prezly.com",
      "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
    }
  }
}

Get pitch

Get one email pitch's details and results.

Inputs

Pitch IDidnumberRequired
The pitch's ID, from List pitches.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "pitch": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "created_at": "2026-11-29T09:00:00+00:00",
      "from": {
        "email_address": "jane@acme.example",
        "name": "Jane Doe"
      },
      "id": 77,
      "is_sent": true,
      "sent_at": "2026-11-30T08:00:00+00:00",
      "stats": {
        "bounces": 0,
        "clicks": 0,
        "delivered": 1,
        "opens": 1,
        "recipients": 1
      },
      "status": "sent",
      "subject": "Story idea: Acme's new office",
      "updated_at": "2026-11-30T09:00:00+00:00"
    }
  }
}

Get story

Get one story's details.

Inputs

Story IDstory_idtextRequired
The story's ID, from List stories or Create story.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

List campaigns

List your email campaigns with how each did.

Inputs

Page sizelimitnumber
How many records a page holds, from 1 to 1000. Prezly's default is 20.From 1 to 1000.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "campaigns": [
      {
        "author": {
          "display_name": "Jane Doe",
          "email": "jane@acme.example",
          "id": 42
        },
        "created_at": "2026-11-29T09:00:00+00:00",
        "id": 501,
        "lifecycle_status": "sent",
        "newsroom": {
          "display_name": "Acme Newsroom",
          "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
        },
        "recipients_number": 120,
        "scheduled_at": "2026-11-30T08:00:00+00:00",
        "sent_at": "2026-11-30T08:00:00+00:00",
        "stats": {
          "bounces": 2,
          "clicks": 20,
          "clicks_rate": 0.17,
          "delivered": 118,
          "opens": 60,
          "opens_rate": 0.5,
          "recipients": 120,
          "replies": 3
        },
        "subject": "Acme opens new office",
        "updated_at": "2026-11-30T09:00:00+00:00"
      }
    ],
    "pagination": {
      "limit": 20,
      "matched_records_number": 1,
      "offset": 0,
      "total_records_number": 1
    }
  }
}

List contacts

List the journalists, people and organisations in your Prezly contacts.

Inputs

Searchsearchtext
Only records matching these words.
Sort bysorttext
The order to list contacts in. Leave empty for Prezly's own order.One of: -created_at (Newest first), +created_at (Oldest first), -modified_at (Recently changed first), +display_name (Name, A to Z), -last_coverage_at (Most recent coverage first).
Page sizelimitnumber
How many records a page holds, from 1 to 1000. Prezly's default is 20.From 1 to 1000.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "contacts": [
      {
        "address": {
          "city": "Ghent",
          "country": "BE",
          "region": "East Flanders"
        },
        "company_name": "",
        "contact_type": "person",
        "coverage_number": 2,
        "created_at": "2026-11-30T09:00:00+00:00",
        "display_name": "Jane Reporter",
        "emails": [
          "jane@news.example"
        ],
        "first_name": "Jane",
        "function_name": "Tech editor",
        "id": 1234,
        "is_bounced": false,
        "is_unsubscribed": false,
        "last_name": "Reporter",
        "medium_types": [
          "web"
        ],
        "modified_at": "2026-11-30T09:30:00+00:00",
        "organisations": [
          {
            "display_name": "Daily News",
            "id": 99
          }
        ],
        "primary_email": "jane@news.example",
        "tags": [
          "tech"
        ]
      }
    ],
    "pagination": {
      "limit": 20,
      "matched_records_number": 1,
      "offset": 0,
      "total_records_number": 1
    }
  }
}

List coverage

List the press coverage logged in Prezly.

Inputs

Page sizelimitnumber
How many records a page holds, from 1 to 1000. Prezly's default is 20.From 1 to 1000.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "coverage": [
      {
        "created_at": "2026-11-30T09:00:00+00:00",
        "display_name": "Acme opens new office - Daily News",
        "headline": "Acme opens new office",
        "newsroom": {
          "display_name": "Acme Newsroom",
          "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
        },
        "published_at": "2026-11-30T08:00:00+00:00",
        "sentiment": "positive",
        "type": "online",
        "updated_at": "2026-11-30T09:30:00+00:00",
        "url": "https://news.example/acme-office",
        "user": {
          "display_name": "Jane Doe",
          "id": 42
        },
        "uuid": "0b6f3d5c-2b8e-4c7a-9a51-6f1d2e3c4b5a",
        "view_url": "https://news.example/acme-office"
      }
    ],
    "pagination": {
      "limit": 20,
      "matched_records_number": 1,
      "offset": 0,
      "total_records_number": 1
    }
  }
}

List newsroom categories

List the categories stories can be filed under in a newsroom.

Inputs

Newsroomnewsroom_idtextRequired
The newsroom. Pick one, or use a newsroom ID from List newsrooms.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "categories": [
      {
        "display_description": "News about Acme.",
        "display_name": "Company news",
        "id": 7,
        "stories_number": 4
      }
    ]
  }
}

List newsroom subscribers

List the people subscribed to a newsroom's updates, newest first.

Inputs

Newsroomnewsroom_idtextRequired
The newsroom. Pick one, or use a newsroom ID from List newsrooms.
Searchsearchtext
Only records matching these words.
Page sizelimitnumber
How many records a page holds, from 1 to 1000. Prezly's default is 20.From 1 to 1000.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "pagination": {
      "limit": 20,
      "matched_records_number": 1,
      "offset": 0,
      "total_records_number": 1
    },
    "subscriptions": [
      {
        "created_at": "2026-11-30T09:00:00+00:00",
        "is_active": true,
        "subscriber": {
          "email_address": "reader@example.com",
          "first_name": "Sam",
          "id": "sub_1",
          "last_name": "Reader"
        }
      }
    ]
  }
}

List newsrooms

List the newsrooms you can reach in Prezly.

Inputs

Searchsearchtext
Only records matching these words.
Page sizelimitnumber
How many records a page holds, from 1 to 1000. Prezly's default is 20.From 1 to 1000.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "newsrooms": [
      {
        "campaigns_number": 3,
        "display_name": "Acme Newsroom",
        "domain": "acme.prezly.com",
        "is_active": true,
        "is_archived": false,
        "is_hub": false,
        "is_multilingual": false,
        "is_online": true,
        "name": "Acme",
        "stories_number": 12,
        "subdomain": "acme",
        "timezone": "europe/brussels",
        "url": "https://acme.prezly.com",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      }
    ],
    "pagination": {
      "limit": 20,
      "matched_records_number": 1,
      "offset": 0,
      "total_records_number": 1
    }
  }
}

List pitches

List the one-to-one email pitches sent to journalists.

Inputs

Searchsearchtext
Only records matching these words.
Page sizelimitnumber
How many pitches a page holds, from 1 to 100. Prezly's default is 20.From 1 to 100.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "pagination": {
      "limit": 20,
      "offset": 0
    },
    "pitches": [
      {
        "author": {
          "display_name": "Jane Doe",
          "email": "jane@acme.example",
          "id": 42
        },
        "created_at": "2026-11-29T09:00:00+00:00",
        "from": {
          "email_address": "jane@acme.example",
          "name": "Jane Doe"
        },
        "id": 77,
        "is_sent": true,
        "sent_at": "2026-11-30T08:00:00+00:00",
        "stats": {
          "bounces": 0,
          "clicks": 0,
          "delivered": 1,
          "opens": 1,
          "recipients": 1
        },
        "status": "sent",
        "subject": "Story idea: Acme's new office",
        "updated_at": "2026-11-30T09:00:00+00:00"
      }
    ]
  }
}

List stories

List stories and press releases across your newsrooms.

Inputs

Searchsearchtext
Only records matching these words.
Sort bysorttext
The order to list stories in. Leave empty for Prezly's own order.One of: -created_at (Newest first), +created_at (Oldest first), -published_at (Recently published first), -modified_at (Recently changed first), +title (Title, A to Z).
Page sizelimitnumber
How many records a page holds, from 1 to 1000. Prezly's default is 20.From 1 to 1000.
Skipoffsetnumber
How many records to skip, to read later pages. Start at 0.At least 0.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "pagination": {
      "limit": 20,
      "matched_records_number": 1,
      "offset": 0,
      "total_records_number": 1
    },
    "stories": [
      {
        "author": {
          "display_name": "Jane Doe",
          "email": "jane@acme.example",
          "id": 42
        },
        "categories": [
          {
            "display_name": "Company news",
            "id": 7
          }
        ],
        "created_at": "2026-11-30T09:00:00+00:00",
        "is_draft": true,
        "is_published": false,
        "is_scheduled": false,
        "newsroom": {
          "display_name": "Acme Newsroom",
          "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
        },
        "oembed": {
          "url": "https://acme.prezly.com/acme-opens-new-office"
        },
        "published_at": "2026-11-30T10:00:00+00:00",
        "scheduled_at": "2026-12-01T09:00:00+00:00",
        "slug": "acme-opens-new-office",
        "status": "draft",
        "subtitle": "The office opens in Ghent in March.",
        "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
        "title": "Acme opens new office",
        "updated_at": "2026-11-30T09:30:00+00:00",
        "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
        "visibility": "public"
      }
    ]
  }
}

Log coverage

Log an article or broadcast that covered you.

Inputs

TypetypetextRequired
Where the coverage appeared.One of: online, social (Social media), print, radio, television.
Web addressurltext
The article's web address.
Headlineheadlinetext
The article's headline.
Authorauthortext
The journalist's name. Prezly finds or adds them as a contact.
Outletorganisationtext
The outlet's name. Prezly finds or adds it as a contact.
Sentimentsentimenttext
The coverage's tone.One of: positive, neutral, negative.
Newsroomnewsroomtext
The newsroom the coverage is for.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "coverage": {
      "created_at": "2026-11-30T09:00:00+00:00",
      "display_name": "Acme opens new office - Daily News",
      "headline": "Acme opens new office",
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "published_at": "2026-11-30T08:00:00+00:00",
      "sentiment": "positive",
      "type": "online",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "url": "https://news.example/acme-office",
      "user": {
        "display_name": "Jane Doe",
        "id": 42
      },
      "uuid": "0b6f3d5c-2b8e-4c7a-9a51-6f1d2e3c4b5a",
      "view_url": "https://news.example/acme-office"
    }
  }
}

Publish story

Publish a story in its newsroom now.

Inputs

Story IDstory_idtextRequired
The story's ID, from List stories or Create story.
Visibilityvisibilitytext
Who can see the published story.One of: public, private, confidential.
Publication datepublished_atdate and time
The date and time to show as the story's publication date. Leave empty for now.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

Replace story text

Replace a story's title and text with new HTML.

Inputs

Story IDstory_idtextRequired
The story's ID, from List stories or Create story.
TexthtmltextRequired
The story's new text as HTML. Images in it are uploaded to Prezly.
Titletitletext
The story's title, used when the HTML doesn't start with a heading.
Subtitlesubtitletext
The story's subtitle.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

Schedule story

Set a story to publish at a later time.

Inputs

Story IDstory_idtextRequired
The story's ID, from List stories or Create story.
Publish atpublish_atdate and timeRequired
When to publish the story.
Visibilityvisibilitytext
Public, or under embargo until the time you set.One of: public, embargo (Under embargo).

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

Subscribe to newsroom

Subscribe an email address to a newsroom's updates, without a confirmation email.

Inputs

Newsroomnewsroom_idtextRequired
The newsroom. Pick one, or use a newsroom ID from List newsrooms.
Emailemail_addresstextRequired
The email address to subscribe.
Languagelocaletext
The language code of the updates they get, such as en.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {}
}

Unpublish story

Take a published story back to a draft.

Inputs

Story IDstory_idtextRequired
The story's ID, from List stories or Create story.
Visibilityvisibilitytext
The visibility the draft keeps.One of: public, private, confidential.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

Update contact

Change a contact's details.

Inputs

Contact IDidtextRequired
The contact's ID, from List contacts or Create contact.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name.
Organisation namecompany_nametext
The organisation's name. Needed when the contact is an organisation.
Job titlefunction_nametext
The person's job title.
Email addressesemailslist
The contact's email addresses.
Works fororganisationslist
Names of the organisations the person works for.
Tagstagslist
The contact's tags. This replaces the tags it has.
Languageslanguageslist
Two-letter codes of the languages the contact uses, such as en or fr.
Media typesmedium_typeslist
The kinds of media the contact works in.One or more of: wire, print, radio, photo, newspaper, magazine, tv, blog, vlog, social, and 7 more.
Citycitytext
The city the contact is in.
Countrycountrytext
The country the contact is in.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "contact": {
      "address": {
        "city": "Ghent",
        "country": "BE",
        "region": "East Flanders"
      },
      "company_name": "",
      "contact_type": "person",
      "coverage_number": 2,
      "created_at": "2026-11-30T09:00:00+00:00",
      "display_name": "Jane Reporter",
      "emails": [
        "jane@news.example"
      ],
      "first_name": "Jane",
      "function_name": "Tech editor",
      "id": 1234,
      "is_bounced": false,
      "is_unsubscribed": false,
      "last_name": "Reporter",
      "medium_types": [
        "web"
      ],
      "modified_at": "2026-11-30T09:30:00+00:00",
      "organisations": [
        {
          "display_name": "Daily News",
          "id": 99
        }
      ],
      "primary_email": "jane@news.example",
      "tags": [
        "tech"
      ]
    }
  }
}

Update story

Change a story's language, visibility, categories, tags or web address.

Inputs

Story IDstory_idtextRequired
The story's ID, from List stories or Create story.
Languageculturetext
The story's language code, such as en or en_US.
Visibilityvisibilitytext
Who can see the story.One of: public, embargo (Under embargo), private, confidential.
Category IDscategorieslist
IDs of newsroom categories to file it under. This replaces its categories.
Tagstagslist
The story's tags. This replaces the tags it has.
Web address slugcustom_slugtext
The last part of the story's web address.
Social media textsocial_texttext
The text shown when the story is shared on social media.

Outputs

dataobject
The response from Prezly.
Example output
{
  "data": {
    "story": {
      "author": {
        "display_name": "Jane Doe",
        "email": "jane@acme.example",
        "id": 42
      },
      "categories": [
        {
          "display_name": "Company news",
          "id": 7
        }
      ],
      "created_at": "2026-11-30T09:00:00+00:00",
      "is_draft": true,
      "is_published": false,
      "is_scheduled": false,
      "newsroom": {
        "display_name": "Acme Newsroom",
        "uuid": "9e0297b0-f37f-4492-a7c4-d98fffe86760"
      },
      "oembed": {
        "url": "https://acme.prezly.com/acme-opens-new-office"
      },
      "published_at": "2026-11-30T10:00:00+00:00",
      "scheduled_at": "2026-12-01T09:00:00+00:00",
      "slug": "acme-opens-new-office",
      "status": "draft",
      "subtitle": "The office opens in Ghent in March.",
      "thumbnail_url": "https://cdn.uc.assets.prezly.com/thumb.png",
      "title": "Acme opens new office",
      "updated_at": "2026-11-30T09:30:00+00:00",
      "uuid": "e6d26a4e-6e4c-4b5a-8d6a-0f2c3a1b9d10",
      "visibility": "public"
    }
  }
}

On this page