---
title: "Search Organizations"
method: POST
path: "/api/search/organizations"
tags: ["Search"]
---

# Search Organizations

`POST /api/search/organizations`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/search/organizations`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/search/organizations/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint will return Organization data based on your search parameters. This endpoint WILL NOT allow you to add a new Organization.

You can use the supported parameters and pass those in the body of request.

The parameters must be passed as Content-Type application/json.


#### Sample Request
```
curl -X POST https://console.jumpcloud.com/api/search/organizations \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
  "search":{
    "fields" : ["settings.name"],
    "searchTerm": "Second"
    },
  "fields": ["_id", "displayName", "logoUrl"],
  "limit" : 0,
  "skip" : 0
}'
```

## Query parameters

- `fields` string
- `filter` string
- `limit` integer
- `skip` integer

## Request body

- Search
  - `fields` string
  - `filter` object
  - `searchFilter` object

## Response `200`

OK

- Organizationslist
  - `results` object[]: The list of organizations.
    - `_id` string: The ID of the organization.
    - `displayName` string: The name of the organization.
    - `logoUrl` string, nullable: The organization logo image URL.
  - `totalCount` integer: The total number of organizations.

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
