> 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/tribes/get-tribe-list/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.gorilladash.com/_mcp/server. # Get Tribe List GET https://api.gorilladash.com/api/v1/tribes Paginated list of the organisation's tribes — the store-locator feed most client websites are built on. A tribe key returns only itself. **`status` decides which tribes you get, and the default is not "all":** | `status` | Returns | |---|---| | *(omitted)* | **Active + Opening Soon** — the default | | `launch` | Active + Opening Soon (same as the default, stated explicitly) | | `all` | Active + Opening Soon + Testing | | `opening soon` | Opening Soon only | | anything else | Active only | **Ordering** — newest first (`created_at` descending). **Page size** — `results_per_page` defaults to **5** and is **clamped**, not rejected, at **1000**. Client WordPress integrations routinely send `99999` to pull every location; that keeps working and simply returns at most 1000 per page. **Each tribe returns** `id`, `organisation_id`, `global_id`, `name`, `slug`, `status`, the full address plus `latitude` / `longitude`, `main_telephone`, the call-tracking numbers (`paid_number` / `paid_number_e164`, `organic_number` / `organic_number_e164`), `website_number_swap_enabled`, `opening_hours_array` and `square_url`. Note there is **no** `created_at` / `updated_at` on this payload, so it cannot be polled with `updated_after`. **`website_number_swap_enabled` is the *effective* flag** — since August 2026 it combines the tribe's own setting with the organisation-wide number-swap master switch, so a tribe with the toggle on still reports `false` when the organisation has switched swapping off. Success is HTTP **201**, not 200. Responses are cached and carry cache headers. Reference: https://docs.gorilladash.com/gorilla-dash-rest-ful-api/tribes/get-tribe-list ## Request ### Query parameters - `page` (integer, optional) — Page number for pagination (default: 1) - `results_per_page` (integer, optional) — Records per page. DEFAULT IS 5. Clamped (not rejected) at 1000. ### 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 ApiV1TribesGetResponsesContentApplicationJsonSchemaDataItems, required) - `pagination` (ApiV1TribesGetResponsesContentApplicationJsonSchemaPagination, required) ## Types ### ApiV1TribesGetResponsesContentApplicationJsonSchemaDataItems - `id` (integer, required) - `organisation_id` (integer, required) - `name` (string, required) - `slug` (string, required) - `status` (string, required) - `country` (string, required) - `postal_code` (string, required) - `state` (string, required) - `state_abbreviated` (string, required) - `locality` (string, required) - `address_1` (string, required) - `latitude` (integer, required) - `longitude` (integer, required) - `main_telephone` (string, required) - `paid_number` (string, required) - `paid_number_e164` (string, required) - `organic_number` (string, required) - `organic_number_e164` (string, required) - `website_number_swap_enabled` (boolean, required) - `opening_hours_array` (ApiV1TribesGetResponsesContentApplicationJsonSchemaDataItemsOpeningHoursArray, required) - `square_url` (string, required) - `global_id` (any, optional) - `address_2` (any, optional) ### ApiV1TribesGetResponsesContentApplicationJsonSchemaPagination - `count` (integer, required) - `total` (integer, required) - `perPage` (integer, required) - `currentPage` (integer, required) - `totalPages` (integer, required) - `links` (ApiV1TribesGetResponsesContentApplicationJsonSchemaPaginationLinks, required) ### ApiV1TribesGetResponsesContentApplicationJsonSchemaDataItemsOpeningHoursArray - `monday` (string, required) - `tuesday` (string, required) - `wednesday` (string, required) - `thursday` (string, required) - `friday` (string, required) - `saturday` (any, optional) - `sunday` (any, optional) ### ApiV1TribesGetResponsesContentApplicationJsonSchemaPaginationLinks ## Examples **Response** ```json { "status": 201, "success": true, "data": [ { "id": 1, "organisation_id": 1, "name": "Demo", "slug": "demo", "status": "Active", "country": "Australia", "postal_code": "2111", "state": "New South Wales", "state_abbreviated": "NSW", "locality": "Gladesville", "address_1": "Buffalo Road", "latitude": -33, "longitude": 151, "main_telephone": "(02) 9999 0000", "paid_number": "(02) 9999 0111", "paid_number_e164": "+61299990111", "organic_number": "(02) 9999 0000", "organic_number_e164": "+61299990000", "website_number_swap_enabled": true, "opening_hours_array": { "monday": "09:00-17:00", "tuesday": "09:00-17:00", "wednesday": "09:00-17:00", "thursday": "09:00-17:00", "friday": "09:00-16:00" }, "square_url": "https://cdn.gorilladash.com/images/media/15717787/demo-square-673c4aca9c8ff.jpg" } ], "pagination": { "count": 1, "total": 1, "perPage": 5, "currentPage": 1, "totalPages": 1, "links": {} } } ``` **SDK Code** ```python Tribes_Get Tribe List_example import requests url = "https://api.gorilladash.com/api/v1/tribes" querystring = {"page":"1","results_per_page":"5"} 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 Tribes_Get Tribe List_example const url = 'https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5'; 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 Tribes_Get Tribe List_example package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5" 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 Tribes_Get Tribe List_example require 'uri' require 'net/http' url = URI("https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5") 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 Tribes_Get Tribe List_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5") .header("GorillaDash-Api-Key", "{{API_KEY}}") .header("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") .header("X-Requested-With", "XMLHttpRequest") .asString(); ``` ```php Tribes_Get Tribe List_example request('GET', 'https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5', [ 'headers' => [ 'GorillaDash-Api-Key' => '{{API_KEY}}', 'GorillaDash-Api-Secret' => '{{GD_RESTFUL_SECRET}}', 'X-Requested-With' => 'XMLHttpRequest', ], ]); echo $response->getBody(); ``` ```csharp Tribes_Get Tribe List_example using RestSharp; var client = new RestClient("https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5"); 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 Tribes_Get Tribe 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/tribes?page=1&results_per_page=5")! 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() ```