Skip to content

Search for users.

GET
/api/search/user

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Query Parameters

q

Search query

Typestring
regionId

Restricts the search to a region

Typestring

Responses

Success
JSON
[
{
"id": 123,
"value": "Max (123)"
}
]
Authorization
api_key
Variables
Key
Value
q
regionId
cURL
curl -X GET \
'http://localhost/api/search/user'

Samples

cURL
curl -X GET http://localhost/api/search/user
JavaScript
fetch("http://localhost/api/search/user")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/search/user");
Python
import requests
response = requests.get("http://localhost/api/search/user")
print(response.json())