Get Organizations API
Welcome to the documentation for the Get Organizations API. This API returns all organization.
Base URL
{baseURL}/v1/organizations?limit=20 | GETAuthorization
Include the following Authorization header in your HTTP requests using a Bearer token:
Authorization: Bearer YOUR_ACCESS_TOKENQuery Parameters
| Parameter | Type | Source | Required | Description | 
|---|---|---|---|---|
| limit | number | body | ✅ Yes | Number of users to retrieve. Default is 50. | 
| sort | string | body | ✅ Yes | Sorted by order e.g descending order | 
Sample Request
curl -X GET {baseURL}/v1/organizations?limit=20 \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \Sample 200 Response
{
  "message": "Organizations retrieved successfully",
  "data": {
    "items": [],
    "meta": {
      "total": 0,
      "page": 1,
      "limit": 5
    }
  },
  "success": true
}