Skip to content

Search users that could be added to the board

GET
/boards/{board}/members/assignables
curl --request GET \
--url 'https://projects.work.optidata.cloud/api/boards/1/members/assignables?query=example' \
--header 'Authorization: Bearer <token>'

Searches the tenant’s users by name or email (excluding the caller) so they can be invited as board members. Returns at most 50 users ordered by name.

board
required
integer

Board id.

query
required
string

Name/email search string.

Matching users.

Media typeapplication/json
object
assignable
Array<object>
object
id
integer
uuid
string format: uuid
name
string
email
string format: email
avatar_url
string | null format: uri
Example
{
"assignable": [
{
"id": 8,
"uuid": "9f8e7d6c-5b4a-3f2e-1d0c-b9a8c7d6e5f4",
"name": "John Smith",
"email": "john.smith@acme.example"
}
]
}

Missing, invalid or expired bearer passport.

Media typeapplication/json
object
error
string
Example
{
"error": "JWT passport exception: Missing bearer token in request"
}

The authenticated user lacks the required board permission.

Media typeapplication/json
object
message
string
Example
{
"message": "This action is unauthorized."
}

Resource not found, or a nested resource does not belong to its parent in the path.

Media typeapplication/json
object
message
string
Example
{
"message": "Not found."
}

Validation failed.

Media typeapplication/json
object
message

First validation error message.

string
errors

Map of field name → list of error messages.

object
key
additional properties
Array<string>
Example
{
"message": "The name field is required.",
"errors": {
"name": [
"The name field is required."
]
}
}