API
Our Work: portfolio and project posts on the API
GET /wordpress/tribes/{slug}/our-works lists a tribe's published project posts, with galleries and client details, and the single-post endpoint returns one in full.
Last updated September 2, 2026
Our Work is the portfolio: the jobs, projects and case studies a tribe wants to show off. GET https://api.gorilladash.com/api/v1/wordpress/tribes/{slug}/our-works lists them, and adding the post slug returns one.
The {slug} in the path is the tribe slug. The second slug on the single-post address is the post's own.
Listing
Takes results_per_page, which defaults to 5. Newest published first.
Only posts that are published and whose publish date has already passed are returned, so you can schedule a case study for next Monday without it leaking early.
What comes back
| Field | Notes |
|---|---|
id | Key your own records on this — the slug can be edited. |
heading, sub_heading | The post title. |
slug | Use it in your URL and on the single-post call. |
excerpt | Short summary, for the listing tile. |
article | The body. |
author | Who wrote it. |
post_type, post_text_mode | How the post is meant to be laid out. |
client_name, client_url | Who the work was for. |
link_full_url | An external link for the project, if there is one. |
starred | Whether it is highlighted. Useful for a featured row. |
published_at | When it went live. |
meta_title, meta_description | For your page head. |
square_url | The tile image. |
gallery | An array of image URLs. |
One post
GET /wordpress/tribes/{slug}/our-works/{postSlug} returns the same fields for a single post, and answers 404 if the post is not published, not yet due, or does not belong to that tribe or organisation.
Building a portfolio page
- Call the list for the index and render
square_urlandexcerptas tiles. - Sort or filter on
starredif you want a featured row above the rest. - Link each tile to your own URL built from the post
slug. - Call the single-post endpoint when a visitor opens one, and render
articleplus thegallery.
Both endpoints are cached and send an ETag, so a newly published project can take a few minutes to appear.
