Daily Advice API
Get personalized daily advice for users
Get Daily Advice
Retrieve a personalized daily advice message for a specific user
Endpoint
GET https://api.wecompleteapp.com/api/users/user/{userId}/adviceRequest Parameters
Path Parameters
userId(required) - The ID of the user
Example Request
curl -X GET 'https://api.wecompleteapp.com/api/users/user/user_12345/advice' \
-H 'Content-Type: application/json'Example Responses
Success (200 OK)
{
"_creationTime": 1740811947392.6646,
"_id": "md7290vmrc6kgdsa97733tkpjn7b9d7x",
"advice": "Love isn't about never being hurt—it's about knowing the other person cares enough to make it right.",
"theme": "Love Means Making Things Right"
}Error (500 Internal Server Error)
{
"error": "Failed to get daily advice"
}