Endpoint
Description
Retrieves detailed information about a specific user, including their notification preferences, contact details, and push notification token.Authentication
This endpoint requires authentication. Include valid credentials in your request headers.Path Parameters
The unique identifier of the user to retrieve.Example:
123e4567-e89b-12d3-a456-426614174000Validation: Must be a valid UUID formatResponse
Indicates whether the request was successfulValue:
trueUser data object
Human-readable message describing the resultExample:
User retrieved successfullyPagination and metadata information
Error Responses
Returned when the user with the specified ID does not exist.
Returned when authentication credentials are missing or invalid.
Returned when the user_id parameter is not a valid UUID.
Example Request
Example Response
200 Success
Notes
- User preferences are cached in Redis for faster lookups
- The
push_tokenfield is used by the Push Service to send notifications - User data is validated against the PostgreSQL database (
users_db) - This endpoint is frequently called by the API Gateway when processing notification requests