Skip to main content
POST
Search users

Restrictions

Usage

  • start_time and end_time are Unix epoch milliseconds and both required; end_time must be later than start_time, and a window wider than 14 days returns InvalidParameter.
  • Without query the people active most recently are listed — the last 24 hours of the window, up to 10 people — and their sessions count is omitted.
  • query is matched against the user id, name and email, ignoring case; fewer than 2 characters returns InvalidParameter.
  • At most 20 people are listed, those with the most sessions in the window first.
  • Anonymous visitors (a user id equal to the anonymous id) are left out, and so are sessions of applications the caller cannot read.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Search the people of the account by user id, name or email, inside a time window.

end_time
integer<int64>
required

End of the window, Unix timestamp in milliseconds. Must be later than start_time, and the window must not exceed 14 days.

Example:

1780358400000

start_time
integer<int64>
required

Start of the window, Unix timestamp in milliseconds; a session that started before it is left out.

Example:

1780272000000

query
string

Text matched against the user id, name and email, ignoring case; at least 2 characters. Omit to list the people active most recently.

Maximum string length: 255

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

The people a search matched, most sessions first.