HackerOne icon

HackerOne

Manage your HackerOne bug bounty program via API

Actions113

User → Get Current User

AI-generated

Summary

Retrieve details about the current authenticated user from HackerOne's API.

Inputs

None.

Output shape

a single JSON object representing the current user's flattened data

Returns the current user information by calling the /me endpoint. If the /me endpoint is unavailable (404), it falls back to calling /me/programs endpoint. The response is flattened from the JSON:API standard format into a simple key-value object. No additional inputs are required.

Examples

Example 1: Fetch current user to personalize workflow or log user info for audits.

Select resource 'User' and operation 'Get Current User' with no further parameters.

Links

Discussion