cURL
curl --request GET \ --url https://api.projectdiscovery.io/v1/user \ --header 'X-API-Key: <api-key>'
{ "ai_status": true, "email": "<string>", "name": "<string>", "message": "<string>", "cloud_scans": true, "static_scan": true, "early_template": true, "team_name": "<string>", "is_team_owner": true, "is_read_only": true, "team_owner_name": "<string>", "trial_status": "<string>", "role": "<string>", "plan": "<string>", "workspaces": [ { "name": "<string>", "team_id": "<string>", "active": true, "plan": "<string>", "member_count": 123 } ] }
Get user profile and permissions
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object.
object
Was this page helpful?