Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Search users by name

GET/v1/search/1₽ per 2xx

Returns a list of users matching the given display name. The response contains only basic user fields (id, username, name, is_bot, is_deleted). For full profiles, call GET /v1/users/{identifier}.

Api-Key header required.

Name Type Required Default Description
name string yes Non-empty name or search phrase.
raw boolean no false If true, only exact matches are returned.
Terminal window
# Full-text search
curl -G -H "Api-Key: $API_KEY" \
--data-urlencode "name=john" \
https://api.telesint.dev/v1/search/
# Exact match
curl -G -H "Api-Key: $API_KEY" \
--data-urlencode "name=John Doe" \
--data-urlencode "raw=true" \
https://api.telesint.dev/v1/search/
{
"data": [
{
"id": 12345,
"username": "johndoe",
"name": "John Doe",
"is_bot": false,
"is_deleted": false
},
{
"id": 67890,
"username": null,
"name": "John",
"is_bot": false,
"is_deleted": false
}
]
}
Field Type Notes
id integer User ID.
username string | null Username, if present.
name string Display name.
is_bot boolean | null true for bots.
is_deleted boolean | null true for deleted accounts.
  • Full-text (default, raw=false) — returns up to 50 results ranked by relevance.
  • Exact (raw=true) — the name field must equal the query exactly.
  • 422 — missing or empty name.
  • See Errors.