Skip to main content
Use this endpoint to fetch all organizations the currently authenticated user is a member of. This is a personal context request — no X-Organization-Id header is needed or accepted.

Endpoint

GET https://api.nyotaimara.com/v1/organizations

Headers

Authorization
string
required
Bearer token. Format: Bearer <token>.

Response

success
boolean
required
true on a successful response.
data
object[]
Array of organizations the user belongs to.
curl --request GET \
  --url https://api.nyotaimara.com/v1/organizations \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "orgId": "org_01j9kxyz",
      "name": "Acme Kenya Ltd",
      "slug": "acme-kenya",
      "logoUrl": "https://cdn.nyotaimara.com/logos/acme-kenya.png",
      "kybStatus": "approved"
    }
  ]
}