Account
Organization
Get Organizations

Get Organizations API

Welcome to the documentation for the Get Organizations API. This API returns all organization.

Base URL

{baseURL}/v1/organizations?limit=20 | GET

Authorization

Include the following Authorization header in your HTTP requests using a Bearer token:

Authorization: Bearer YOUR_ACCESS_TOKEN

Query Parameters

ParameterTypeSourceRequiredDescription
limitnumberbody✅ YesNumber of users to retrieve. Default is 50.
sortstringbody✅ YesSorted 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
}