How can we help you?

Get a FeraAuth user by email address

Product: FeraAuth Topic: API Versions: Applies to all documented versions Current

Audience: Application developers
Editorial status: Published — Source Validated
Product: FeraAuth
Classification: administrative

GET /api/v1/users/e/{email}

Overview

Implements controller.get in routes/api/v1/user/routes.js:15. The x-auth-token middleware verifies the JWT and the service then enforces live-session, instance, and endpoint-specific permission requirements.

Deprecated compatibility paths

  • GET /api/users/e/{email}

Use the versioned canonical path for new integrations.

Authentication and access

Security scheme: authToken

Control Contract
Authentication authenticated
Authorization USER.EDIT
Licensing FeraAuth does not evaluate product licenses; consuming products establish access by provisioning FeraAuth instance assignments and permissions.
Instance Context The authenticated token, instance header/body value, or route value selects the application instance used for session and permission evaluation.
Ownership Instance-scoped grants control access; a caller cannot cross into an unrelated instance merely by supplying another resource identifier.

Parameters

Name Location Type Required Description
email path string Yes Route value used to select or filter the email identity operation.

Request body

No request body.

Example request

cURL

curl --request GET \ \
  --url 'https://auth.feradel.com/api/v1/users/e/developer@example.com' \
  --header 'x-auth-token: $FERA_AUTH_TOKEN'

Responses

200 The source-traced FeraAuth handler completed and returned its identity, permission, session, or administration representation.

Content type: application/json; schema: AuthSuccess

{
    "success": true,
    "uuid": "715c9ebb-0470-11f1-a928-0ed2cd1b87df",
    "items": [],
    "fatal": false,
    "status": 200
}

400 Validation, credentials, instance context, or command fields are invalid.

Content type: application/json; schema: AuthError

{
    "success": false,
    "error": {
        "status": 400,
        "message": "Invalid credentials"
    }
}

401 The x-auth-token is missing, invalid, or references an expired session.

Content type: application/json; schema: AuthError

{
    "success": false,
    "error": {
        "status": 401,
        "message": "Unauthorized"
    }
}

403 The identity lacks the required instance-scoped permission or administrative grant.

Content type: application/json; schema: AuthError

{
    "success": false,
    "error": {
        "status": 403,
        "message": "Permission denied"
    }
}

404 The requested instance-scoped user or permission resource does not exist.

Content type: application/json; schema: AuthError

{
    "success": false,
    "error": {
        "status": 404,
        "message": "Resource not found"
    }
}

500 An unexpected persistence, delivery, or internal identity failure occurred.

Content type: application/json; schema: AuthError

{
    "success": false,
    "error": {
        "status": 500,
        "message": "Unable to complete request"
    }
}

Status and retry matrix

Status Condition Retryable Developer action
200 The source-traced FeraAuth handler completed and returned its identity, permission, session, or administration representation. No Continue with the returned identity representation.
400 Validation, credentials, instance context, or command fields are invalid. No Correct the documented credential, permission, state, or dependency condition before retrying.
401 The x-auth-token is missing, invalid, or references an expired session. No Correct the documented credential, permission, state, or dependency condition before retrying.
403 The identity lacks the required instance-scoped permission or administrative grant. No Correct the documented credential, permission, state, or dependency condition before retrying.
404 The requested instance-scoped user or permission resource does not exist. No Correct the documented credential, permission, state, or dependency condition before retrying.
500 An unexpected persistence, delivery, or internal identity failure occurred. Yes Correct the documented credential, permission, state, or dependency condition before retrying.

Related operations and events

  • Operation auth_post_users
  • Operation auth_post_usersVerify
  • Operation auth_post_usersApply
  • Operation auth_post_usersRevoke
  • Operation auth_post_usersOwner
  • Operation auth_post_usersPermit
  • Operation auth_get_usersIUuid}
  • Operation auth_get_usersMe

Source trace

Repository: feradelinc/feradel.auth.api
Branch: agent/auth-security-hardening
Commit: 8e09b7213fdbc5e0e1552d5271dbeee768e9dd88
Route: routes/api/v1/user/routes.js
Handler: controller.get
Contract: OpenAPI 3.1, source-traced and publication-validated.