{
  "info": {
    "_postman_id": "0b011bfb-6151-4a7e-ae91-fe4f4acffbff",
    "name": "Atlassian wiki/rest/api/search/",
    "description": "Needs description.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:06:41.000Z",
    "updatedAt": "2026-06-05T15:06:41.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-0b011bfb-6151-4a7e-ae91-fe4f4acffbff"
  },
  "item": [
    {
      "name": "wiki",
      "item": [
        {
          "name": "rest",
          "item": [
            {
              "name": "api",
              "item": [
                {
                  "name": "search",
                  "item": [
                    {
                      "name": "user",
                      "item": [
                        {
                          "name": "Atlassian Search Users",
                          "id": "ad993a3e-f4e1-4f02-bd0d-68fe16d95213",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/wiki/rest/api/search/user?cql=<string>&start=0&limit=25&expand=<string>,<string>&sitePermissionTypeFilter=none",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "wiki",
                                "rest",
                                "api",
                                "search",
                                "user"
                              ],
                              "query": [
                                {
                                  "description": "(Required) The CQL query to be used for the search. See\n[Advanced Searching using CQL](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/)\nfor instructions on how to build a CQL query.\n\nExample queries:\n          cql=type=user will return all users\n          cql=user=\"1234\" will return user with accountId \"1234\"\n          You can also use IN, NOT IN, != operators\n          cql=user IN (\"12\", \"34\") will return users with accountids \"12\" and \"34\"\n          cql=user.fullname~jo will return users with nickname/full name starting with \"jo\"\n          cql=user.accountid=\"123\" will return user with accountId \"123\"",
                                  "key": "cql",
                                  "value": "<string>"
                                },
                                {
                                  "description": "The starting index of the returned users.",
                                  "key": "start",
                                  "value": "0"
                                },
                                {
                                  "description": "The maximum number of user objects to return per page.\nNote, this may be restricted by fixed system limits.",
                                  "key": "limit",
                                  "value": "25"
                                },
                                {
                                  "description": "A multi-value parameter indicating which properties of the user to expand.\n\n- `operations` returns the operations for the user, which are used\nwhen setting permissions.\n- `personalSpace` returns the personal space of the user.",
                                  "key": "expand",
                                  "value": "<string>,<string>"
                                },
                                {
                                  "description": "Filters users by permission type. Use `none` to default to licensed users, `externalCollaborator`\nfor external/guest users, and `all` to include all permission types.",
                                  "key": "sitePermissionTypeFilter",
                                  "value": "none"
                                }
                              ]
                            },
                            "description": "Searches for users using user-specific queries from the<br>[Confluence Query Language (CQL)](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/).<br><br>Note that CQL input queries submitted through the `/wiki/rest/api/search/user` endpoint only support user-specific fields like `user`, `user.fullname`, `user.accountid`, and `user.userkey`.<br><br>Note that some user fields may be set to null depending on the user's privacy settings.<br>These are: email, profilePicture, displayName, and timeZone."
                          },
                          "response": [
                            {
                              "id": "8412841c-1b80-4bfa-af9f-00b874ca4a33",
                              "name": "Returned if the requested results are returned.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/search/user?cql=<string>&start=0&limit=25&expand=<string>,<string>&sitePermissionTypeFilter=none",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "search",
                                    "user"
                                  ],
                                  "query": [
                                    {
                                      "description": "(Required) The CQL query to be used for the search. See\n[Advanced Searching using CQL](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/)\nfor instructions on how to build a CQL query.\n\nExample queries:\n          cql=type=user will return all users\n          cql=user=\"1234\" will return user with accountId \"1234\"\n          You can also use IN, NOT IN, != operators\n          cql=user IN (\"12\", \"34\") will return users with accountids \"12\" and \"34\"\n          cql=user.fullname~jo will return users with nickname/full name starting with \"jo\"\n          cql=user.accountid=\"123\" will return user with accountId \"123\"",
                                      "key": "cql",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The starting index of the returned users.",
                                      "key": "start",
                                      "value": "0"
                                    },
                                    {
                                      "description": "The maximum number of user objects to return per page.\nNote, this may be restricted by fixed system limits.",
                                      "key": "limit",
                                      "value": "25"
                                    },
                                    {
                                      "description": "A multi-value parameter indicating which properties of the user to expand.\n\n- `operations` returns the operations for the user, which are used\nwhen setting permissions.\n- `personalSpace` returns the personal space of the user.",
                                      "key": "expand",
                                      "value": "<string>,<string>"
                                    },
                                    {
                                      "description": "Filters users by permission type. Use `none` to default to licensed users, `externalCollaborator`\nfor external/guest users, and `all` to include all permission types.",
                                      "key": "sitePermissionTypeFilter",
                                      "value": "none"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"_links\": {\n    \"value\": \"reference #/components/schemas/GenericLinks not found in the OpenAPI spec\"\n  },\n  \"cqlQuery\": \"<string>\",\n  \"limit\": \"<integer>\",\n  \"results\": [\n    {\n      \"value\": \"reference #/components/schemas/SearchResult not found in the OpenAPI spec\"\n    },\n    {\n      \"value\": \"reference #/components/schemas/SearchResult not found in the OpenAPI spec\"\n    }\n  ],\n  \"searchDuration\": \"<integer>\",\n  \"size\": \"<integer>\",\n  \"start\": \"<integer>\",\n  \"totalSize\": \"<integer>\",\n  \"archivedResultCount\": \"<integer>\"\n}",
                              "createdAt": "2026-06-05T15:06:41.000Z",
                              "updatedAt": "2026-06-05T15:06:41.000Z",
                              "uid": "35240-8412841c-1b80-4bfa-af9f-00b874ca4a33"
                            },
                            {
                              "id": "9a5c59ee-ae89-407c-9276-e16ac901fbdc",
                              "name": "Returned if the CQL query cannot be parsed.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/search/user?cql=<string>&start=0&limit=25&expand=<string>,<string>&sitePermissionTypeFilter=none",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "search",
                                    "user"
                                  ],
                                  "query": [
                                    {
                                      "description": "(Required) The CQL query to be used for the search. See\n[Advanced Searching using CQL](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/)\nfor instructions on how to build a CQL query.\n\nExample queries:\n          cql=type=user will return all users\n          cql=user=\"1234\" will return user with accountId \"1234\"\n          You can also use IN, NOT IN, != operators\n          cql=user IN (\"12\", \"34\") will return users with accountids \"12\" and \"34\"\n          cql=user.fullname~jo will return users with nickname/full name starting with \"jo\"\n          cql=user.accountid=\"123\" will return user with accountId \"123\"",
                                      "key": "cql",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The starting index of the returned users.",
                                      "key": "start",
                                      "value": "0"
                                    },
                                    {
                                      "description": "The maximum number of user objects to return per page.\nNote, this may be restricted by fixed system limits.",
                                      "key": "limit",
                                      "value": "25"
                                    },
                                    {
                                      "description": "A multi-value parameter indicating which properties of the user to expand.\n\n- `operations` returns the operations for the user, which are used\nwhen setting permissions.\n- `personalSpace` returns the personal space of the user.",
                                      "key": "expand",
                                      "value": "<string>,<string>"
                                    },
                                    {
                                      "description": "Filters users by permission type. Use `none` to default to licensed users, `externalCollaborator`\nfor external/guest users, and `all` to include all permission types.",
                                      "key": "sitePermissionTypeFilter",
                                      "value": "none"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:41.000Z",
                              "updatedAt": "2026-06-05T15:06:41.000Z",
                              "uid": "35240-9a5c59ee-ae89-407c-9276-e16ac901fbdc"
                            },
                            {
                              "id": "94c1bbef-5e79-4dc1-8631-9f22f7fcb6d8",
                              "name": "Returned if the calling user does not have permission to access\nConfluence.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/wiki/rest/api/search/user?cql=<string>&start=0&limit=25&expand=<string>,<string>&sitePermissionTypeFilter=none",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "wiki",
                                    "rest",
                                    "api",
                                    "search",
                                    "user"
                                  ],
                                  "query": [
                                    {
                                      "description": "(Required) The CQL query to be used for the search. See\n[Advanced Searching using CQL](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/)\nfor instructions on how to build a CQL query.\n\nExample queries:\n          cql=type=user will return all users\n          cql=user=\"1234\" will return user with accountId \"1234\"\n          You can also use IN, NOT IN, != operators\n          cql=user IN (\"12\", \"34\") will return users with accountids \"12\" and \"34\"\n          cql=user.fullname~jo will return users with nickname/full name starting with \"jo\"\n          cql=user.accountid=\"123\" will return user with accountId \"123\"",
                                      "key": "cql",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The starting index of the returned users.",
                                      "key": "start",
                                      "value": "0"
                                    },
                                    {
                                      "description": "The maximum number of user objects to return per page.\nNote, this may be restricted by fixed system limits.",
                                      "key": "limit",
                                      "value": "25"
                                    },
                                    {
                                      "description": "A multi-value parameter indicating which properties of the user to expand.\n\n- `operations` returns the operations for the user, which are used\nwhen setting permissions.\n- `personalSpace` returns the personal space of the user.",
                                      "key": "expand",
                                      "value": "<string>,<string>"
                                    },
                                    {
                                      "description": "Filters users by permission type. Use `none` to default to licensed users, `externalCollaborator`\nfor external/guest users, and `all` to include all permission types.",
                                      "key": "sitePermissionTypeFilter",
                                      "value": "none"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:06:41.000Z",
                              "updatedAt": "2026-06-05T15:06:41.000Z",
                              "uid": "35240-94c1bbef-5e79-4dc1-8631-9f22f7fcb6d8"
                            }
                          ],
                          "createdAt": "2026-06-05T15:06:41.000Z",
                          "updatedAt": "2026-06-05T15:06:41.000Z",
                          "uid": "35240-ad993a3e-f4e1-4f02-bd0d-68fe16d95213"
                        }
                      ],
                      "id": "eae60a39-914c-47ad-b445-a959c8ffe5c1",
                      "createdAt": "2026-06-05T15:06:41.000Z",
                      "updatedAt": "2026-06-05T15:06:41.000Z",
                      "uid": "35240-eae60a39-914c-47ad-b445-a959c8ffe5c1"
                    }
                  ],
                  "id": "f3eebfaf-bc47-49f2-918a-65517c4deb7e",
                  "createdAt": "2026-06-05T15:06:41.000Z",
                  "updatedAt": "2026-06-05T15:06:41.000Z",
                  "uid": "35240-f3eebfaf-bc47-49f2-918a-65517c4deb7e"
                }
              ],
              "id": "94865e9e-8f6e-473e-a7a7-540c9e09438e",
              "createdAt": "2026-06-05T15:06:41.000Z",
              "updatedAt": "2026-06-05T15:06:41.000Z",
              "uid": "35240-94865e9e-8f6e-473e-a7a7-540c9e09438e"
            }
          ],
          "id": "c0c2dbf4-2160-4906-85ef-de01c8107d87",
          "createdAt": "2026-06-05T15:06:41.000Z",
          "updatedAt": "2026-06-05T15:06:41.000Z",
          "uid": "35240-c0c2dbf4-2160-4906-85ef-de01c8107d87"
        }
      ],
      "id": "0488a7d4-be73-4137-a223-9dd179024c4d",
      "createdAt": "2026-06-05T15:06:41.000Z",
      "updatedAt": "2026-06-05T15:06:41.000Z",
      "uid": "35240-0488a7d4-be73-4137-a223-9dd179024c4d"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "//your-domain.atlassian.net"
    }
  ]
}