cURL
curl --request GET \ --url http://sandbox.mintlify.com/users/{id} \ --header 'X-API-Key: <api-key>'
⚠️ SECURITY: Retrieves user profile by ID. Requires authentication with scope “read:user”. Supports both OAuth tokens and API keys.
curl -X GET http://localhost:3001/api/users/123 \ -H "Authorization: Bearer <token>"
API Key for authentication (format: sk_...)
User retrieved successfully. Returns user profile information.