> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.gorilladash.com/gorilla-dash-rest-ful-api/media/get-media-list/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.gorilladash.com/_mcp/server. # Get Media List GET https://api.gorilladash.com/api/v1/media Media library items for the calling organisation or tribe. Each item returns `id`, `organisation_id`, `name`, `description` and `url` (the cropped original). `id` and `organisation_id` were added in the August 2026 contract pass. **Limits** — `results_per_page` is 1–1000. **The default is 5**, so pass it explicitly if you want more; over 1000 returns HTTP 422. Success is HTTP **201**, not 200. Read responses on this endpoint are cached and carry cache headers. Reference: https://docs.gorilladash.com/gorilla-dash-rest-ful-api/media/get-media-list ## Request ### Query parameters - `starred` (integer, optional) — Only starred media. - `tribe_slug` (string, optional) — Restrict to one tribe by slug. - `results_per_page` (integer, optional) — Records per page. 1-1000. DEFAULT IS 5 - pass explicitly. Over 1000 returns 422. ### Headers - `GorillaDash-Api-Key` (string, optional) — Gorilla Dash API Key - `GorillaDash-Api-Secret` (string, optional) — Gorilla Dash API Secret - `X-Requested-With` (string, optional) ## Response ### 201 Created - `status` (integer, required) - `success` (boolean, required) - `data` (list of ApiV1MediaGetResponsesContentApplicationJsonSchemaDataItems, required) - `pagination` (ApiV1MediaGetResponsesContentApplicationJsonSchemaPagination, required) ## Types ### ApiV1MediaGetResponsesContentApplicationJsonSchemaDataItems - `id` (integer, required) - `organisation_id` (integer, required) - `name` (string, required) - `description` (string, required) - `url` (string, required) ### ApiV1MediaGetResponsesContentApplicationJsonSchemaPagination - `count` (integer, required) - `total` (integer, required) - `perPage` (integer, required) - `currentPage` (integer, required) - `totalPages` (integer, required) - `links` (ApiV1MediaGetResponsesContentApplicationJsonSchemaPaginationLinks, required) ### ApiV1MediaGetResponsesContentApplicationJsonSchemaPaginationLinks - `next` (string, required) ## Examples **Response** ```json { "status": 201, "success": true, "data": [ { "id": 884213, "organisation_id": 176, "name": "Storefront hero", "description": "Myrtle Beach storefront, summer campaign", "url": "https://cdn.gorilladash.com/media/884213/original_cropped/storefront-hero.jpg" } ], "pagination": { "count": 1, "total": 42, "perPage": 25, "currentPage": 1, "totalPages": 2, "links": { "next": "https://api.gorilladash.com/api/v1/media?starred=1&tribe_slug=myrtle-beach&results_per_page=25&page=2" } } } ``` **SDK Code** ```python Media_Get Media List_example import requests url = "https://api.gorilladash.com/api/v1/media" querystring = {"results_per_page":"25","starred":"1","tribe_slug":"myrtle-beach"} headers = { "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}", "X-Requested-With": "XMLHttpRequest" } response = requests.get(url, headers=headers, params=querystring) print(response.json()) ``` ```javascript Media_Get Media List_example const url = 'https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach'; const options = { method: 'GET', headers: { 'GorillaDash-Api-Key': '{{API_KEY}}', 'GorillaDash-Api-Secret': '{{GD_RESTFUL_SECRET}}', 'X-Requested-With': 'XMLHttpRequest' } }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Media_Get Media List_example package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("GorillaDash-Api-Key", "{{API_KEY}}") req.Header.Add("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") req.Header.Add("X-Requested-With", "XMLHttpRequest") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Media_Get Media List_example require 'uri' require 'net/http' url = URI("https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["GorillaDash-Api-Key"] = '{{API_KEY}}' request["GorillaDash-Api-Secret"] = '{{GD_RESTFUL_SECRET}}' request["X-Requested-With"] = 'XMLHttpRequest' response = http.request(request) puts response.read_body ``` ```java Media_Get Media List_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach") .header("GorillaDash-Api-Key", "{{API_KEY}}") .header("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") .header("X-Requested-With", "XMLHttpRequest") .asString(); ``` ```php Media_Get Media List_example request('GET', 'https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach', [ 'headers' => [ 'GorillaDash-Api-Key' => '{{API_KEY}}', 'GorillaDash-Api-Secret' => '{{GD_RESTFUL_SECRET}}', 'X-Requested-With' => 'XMLHttpRequest', ], ]); echo $response->getBody(); ``` ```csharp Media_Get Media List_example using RestSharp; var client = new RestClient("https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach"); var request = new RestRequest(Method.GET); request.AddHeader("GorillaDash-Api-Key", "{{API_KEY}}"); request.AddHeader("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}"); request.AddHeader("X-Requested-With", "XMLHttpRequest"); IRestResponse response = client.Execute(request); ``` ```swift Media_Get Media List_example import Foundation let headers = [ "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}", "X-Requested-With": "XMLHttpRequest" ] let request = NSMutableURLRequest(url: NSURL(string: "https://api.gorilladash.com/api/v1/media?results_per_page=25&starred=1&tribe_slug=myrtle-beach")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```