Skip to content

searchUsersForSelect

READ

Search users for select.

POST /api/v1/users/searchUsersForSelect
curl -X POST '<your-host>/api/v1/users/searchUsersForSelect' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "q": "string"
  }'
Response
{
  "results": [
    {
      "memberUserId": "string",
      "user": "…"
    }
  ],
  "count": null
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "q": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "excludeSelf": {
      "type": "boolean"
    },
    "allowedIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "q"
  ]
}