> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.gorilladash.com/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

Reference: https://docs.gorilladash.com/gorilla-dash-rest-ful-api/tribe/get-tribe-list

## Authentication

- `GorillaDash-Api-Key` header (required) — Gorilla Dash API Key. Issued per organisation or tribe.
- `GorillaDash-Api-Secret` header (required) — Gorilla Dash API Secret. Sent alongside the API key on every request.

## Request

### Query parameters

- `page` (integer, optional)
- `results_per_page` (integer, optional)

### Headers

- `X-Requested-With` (string, optional)

## Response

### 201

Created

- `status` (integer, required)
- `success` (boolean, required)
- `data` (list of object, required)
  - `id` (integer, required)
  - `organisation_id` (integer, required)
  - `name` (string, required)
  - `slug` (string, required)
  - `country` (string, required)
  - `postal_code` (string, required)
  - `state` (string, required)
  - `locality` (string, required)
  - `address_1` (string, required)
  - `latitude` (integer, required)
  - `longitude` (integer, required)
  - `global_id` (any, optional)
  - `address_2` (any, optional)
- `pagination` (object, required)
  - `count` (integer, required)
  - `total` (integer, required)
  - `perPage` (integer, required)
  - `currentPage` (integer, required)
  - `totalPages` (integer, required)
  - `links` (object, required)
    - `next` (string, required)

## Examples

**Response**

```json
{
  "status": 201,
  "success": true,
  "data": [
    {
      "id": 1,
      "organisation_id": 1,
      "name": "Demo",
      "slug": "demo",
      "country": "Australia",
      "postal_code": "2111",
      "state": "New South Wales",
      "locality": "Gladesville",
      "address_1": "Buffalo Road",
      "latitude": -33,
      "longitude": 151
    }
  ],
  "pagination": {
    "count": 1,
    "total": 1,
    "perPage": 5,
    "currentPage": 1,
    "totalPages": 1,
    "links": {
      "next": "https://api.gorilladash.com/api/v1/tribes?page=2"
    }
  }
}
```

**SDK Code**

```python Tribe_Get Tribe List_example
import requests

url = "https://api.gorilladash.com/api/v1/tribes"

querystring = {"page":"1","results_per_page":"5"}

headers = {
    "X-Requested-With": "XMLHttpRequest",
    "GorillaDash-Api-Key": "<apiKey>"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Tribe_Get Tribe List_example
const url = 'https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5';
const options = {
  method: 'GET',
  headers: {'X-Requested-With': 'XMLHttpRequest', 'GorillaDash-Api-Key': '<apiKey>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Tribe_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("X-Requested-With", "XMLHttpRequest")
	req.Header.Add("GorillaDash-Api-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Tribe_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["X-Requested-With"] = 'XMLHttpRequest'
request["GorillaDash-Api-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Tribe_Get Tribe List_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5")
  .header("X-Requested-With", "XMLHttpRequest")
  .header("GorillaDash-Api-Key", "<apiKey>")
  .asString();
```

```php Tribe_Get Tribe List_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.gorilladash.com/api/v1/tribes?page=1&results_per_page=5', [
  'headers' => [
    'GorillaDash-Api-Key' => '<apiKey>',
    'X-Requested-With' => 'XMLHttpRequest',
  ],
]);

echo $response->getBody();
```

```csharp Tribe_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("X-Requested-With", "XMLHttpRequest");
request.AddHeader("GorillaDash-Api-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Tribe_Get Tribe List_example
import Foundation

let headers = [
  "X-Requested-With": "XMLHttpRequest",
  "GorillaDash-Api-Key": "<apiKey>"
]

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()
```