Skip to main content

List Memories

GET /api/memories

Retrieves a paginated list of memories for the authenticated user.

Code Examples

curl --request GET \
--url 'https://tess.pareto.io/api/memories' \
--header 'Authorization: Bearer YOUR_API_KEY'

Query Parameters

ParameterTypeRequiredDescriptionDefaultMinMax
pageintegerNoPage number1--
per_pageintegerNoItems per page10150
collection_idintegerNoFilter by collection ID---

Response

{
"message": "Memories fetched successfully!",
"memories": [
{
"id": 9,
"user_id": 1,
"memory": "Example memory content",
"credits": 0,
"collection_id": 1
}
],
"meta": {
"current_page": 1,
"last_page": 2,
"total": 8
}
}

Try it out!

Authentication

This endpoint requires Bearer token authentication.

Test Endpoint