Skip to content

Search mention suggestions

GET
/mentions/search
Code sample: Shell / cURL
curl --request GET \
--url 'https://example.com/api/v1/mentions/search?q=' \
--header 'Authorization: Bearer <token>'

Searches members, tasks, projects, clients, roles, teams, and orders for @mention autocomplete. type narrows the searched entity types (comma-separated); at most 5 results per type and 20 total.

q
string
"" <= 100 characters
type
string

Up to 20 mention suggestions (no pagination meta).

Media typeapplication/json
object
data
required
Array<object>

An @mention autocomplete suggestion.

object
avatar

Avatar URL; present only on member suggestions.

string | null
color

Project color; present only on project suggestions.

string | null
id
required
string
label
required
string
number

Task number; present only on task suggestions.

Any of:
integer
>= -9007199254740991 <= 9007199254740991
type
required
string
Allowed values: member task project client role team order

Example

{
"data": [
{
"type": "member"
}
]
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.