Pages

GET
/sites/site-id/pages

Get a list of pages on this site.

Query parameters

fields Return only requested fields in the response (ex. ?fields=id,body)
GET https://api.flockler.com/v1/sites/609/pages
{
  "meta": {
    "total_count": null,
    "count": 2
  },
  "pages": [
    {
      "body": "<p>Flockler enables brands to create engaging editorial content and collect social content created by the organisation, employees and their audience. Create Flockler-powered website or integrate content to your existing websites, applications, ecommerce sites and other services.</p>\n\n<p>Create and curate content manually or set up rules to publish content automatically from Twitter, Instagram, Facebook, YouTube, Linkedin and Pinterest.</p>\n",
      "cover_url": "https://flockler.com/thumbs/sites/609/dscf4516_s1200x630.jpg",
      "id": 390,
      "menu_name": "About",
      "meta_title": "Learn more about Flockler",
      "name": "About us at Flockler",
      "show_in_menu": true,
      "site_id": 609,
      "summary": "Flockler enables brands to create engaging editorial content and collect social content created by the organisation, employees and their audience. ",
      "url": "about",
      "visibility": "public"
    },
    {
      "body": "<p><img alt=\"Photo of Toni Hopponen\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-toni.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Toni Hopponen</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Chief Executive Officer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/tonihopponen\" itemprop=\"sameAs\">@tonihopponen</a></p>\n\n<p><img alt=\"Photo of Jani Elo\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-jani.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Jani Elo</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Chief Technology Officer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/elastion\" itemprop=\"sameAs\">@elastion</a></p>\n\n<p><img alt=\"Photo of Janne Gylling\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-janne.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Janne Gylling</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Chief Marketing Officer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/jannegylling\" itemprop=\"sameAs\">@JanneGylling</a></p>\n\n<p><img alt=\"Photo of Petri Partio\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-petri.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Petri Partio</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Desingineer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/peritpatrio\" itemprop=\"sameAs\">@peritpatrio</a></p>\n\n<p><img alt=\"Photo of Antti-Jussi Kovalainen\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-ajk.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Antti-Jussi Kovalainen</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Desingineer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/darep\" itemprop=\"sameAs\">@Darep</a></p>\n\n<p><img alt=\"Photo of Teemu Pääkkönen\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-teemu.jpeg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Teemu P&auml;&auml;kk&ouml;nen</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Justa Programmer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/TeemuOfFlockler\" itemprop=\"sameAs\">@TeemuOfFlockler</a></p>\n\n<p><img alt=\"Photo of Chris Borrowdale\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-chris.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Chris Borrowdale</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Front-End Developer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/chrisborrowdale\" itemprop=\"sameAs\">@chrisborrowdale</a></p>\n\n<p><img alt=\"Photo of Antti Lusila\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-antti.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Antti Lusila</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Front-End Developer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/Zenantti\" itemprop=\"sameAs\">@zenantti</a></p>\n\n<p>&nbsp;</p>\n\n<p><img alt=\"Photo of Henrik Tenhovirta\" itemprop=\"image\" src=\"http://static.flockler.com/assets/flockler/team/team-photo-henu.jpg\" style=\"float:none; height:100px; margin:0px 0px 2rem; width:100px\" /></p>\n\n<h2>Henrik Tenhovirta</h2>\n\n<p class=\"team-member-title\" itemprop=\"jobTitle\">Front-End Developer</p>\n\n<p class=\"team-member-twitter\"><a href=\"https://twitter.com/hetenho\" itemprop=\"sameAs\">@hetenho</a></p>\n",
      "cover_url": null,
      "id": 391,
      "menu_name": "Who are we?",
      "meta_title": null,
      "name": "Who are we?",
      "show_in_menu": true,
      "site_id": 609,
      "summary": null,
      "url": "who-are-we",
      "visibility": "public"
    }
  ]
}
Field Data type Description values
body string Static page's contents in HTML format
id integer Unique ID of this page
cover_url string URL of an image to be shown in social media shares (usually <meta property="og:image" content="" />)
menu_name string Name to be shown in menus (usually shorter than actual name/title)
meta_title string Title to be shown in Google and social media shares (usually in <title></title> / <meta name="og:title" content=""/>)
name string Title/name of this page
show_in_menu boolean Whether the page should be visible in menu(s) or not
site_id integer ID of the site this page belongs to
summary string Description to be shown in Google and social media shares (usually in <meta name="description" property="og:description" content=""/>)
url string Slug of this page
visibility string Visibility state for this page (private / public / unlisted)
GET
/sites/site-id/pages/pages-id

Get information about a page.

Query parameters

fields Return only requested fields in the response (ex. ?fields=id,body)
GET https://api.flockler.com/v1/sites/609/pages/390
{
  "page": {
    "body": "<p>Flockler enables brands to create engaging editorial content and collect social content created by the organisation, employees and their audience. Create Flockler-powered website or integrate content to your existing websites, applications, ecommerce sites and other services.</p>\n\n<p>Create and curate content manually or set up rules to publish content automatically from Twitter, Instagram, Facebook, YouTube, Linkedin and Pinterest.</p>\n",
    "cover_url": "https://flockler.com/thumbs/sites/609/dscf4516_s1200x630.jpg",
    "id": 390,
    "menu_name": "About",
    "meta_title": "Learn more about Flockler",
    "name": "About us at Flockler",
    "show_in_menu": true,
    "site_id": 609,
    "summary": "Flockler enables brands to create engaging editorial content and collect social content created by the organisation, employees and their audience. ",
    "url": "about",
    "visibility": "public"
  }
}
Field Data type Description values
body string Static page's contents in HTML format
id integer Unique ID of this page
cover_url string URL of an image to be shown in social media shares (usually <meta property="og:image" content="" />)
menu_name string Name to be shown in menus (usually shorter than actual name/title)
meta_title string Title to be shown in Google and social media shares (usually in <title></title> / <meta name="og:title" content=""/>)
name string Title/name of this page
show_in_menu boolean Whether the page should be visible in menu(s) or not
site_id integer ID of the site this page belongs to
summary string Description to be shown in Google and social media shares (usually in <meta name="description" property="og:description" content=""/>)
url string Slug of this page
visibility string Visibility state for this page (private / public / unlisted)