API Get Memories

API Documentation home

Quick Example

curl -H "MMT-ApiKey:<your_api_key>" https://api.modernmt.com/memories | python -mjson.tool
    "status": 200,
    "data": [
            "id": 5,
            "key": "mk_f4932hg205vh7h20h05g72",
            "name": "BeautifulMemory",
            "description": "My most precious memories",
            "externalId": null,
            "creationDate": "2017-10-13T13:32:34+00:00"
            "id": 9,
            "key": "mk_890qjf8hf0qhf04hf7403f",
            "name": "EvenMoreBeautifulMemory",
            "description": "My even more precious memories",
            "externalId": null,
            "creationDate": "2017-11-13T13:33:01+00:00"


This method retrieves all the memories associated to the owner of the MMT-ApiKey header used in the HTTP Request.

If the MMT-ApiKey header is missing or invalid, this API returns an HTTP ERROR 401:

    "error": {
        "message":"Missing or invalid authentication header"

Resource URL


Request Fields


Response Fields

This API returns an array containing multiple Memory objects. Each Memory object contains the following fields:

Name Description
id The ModernMT Memory id for this Memory.

Example: 5
key The ServiceApi Memory key for this Memory.

Example: mk_f4932hg205vh7h20h05g72
externalId Private parameter for internal use only
name The name with which this user was linked to the memory.

Example: BeautifulMemory
description The description with which this user was linked to the memory.

Example: My most precious memories
creationDate A timestamp marking the instant that the Memory was created.
It refers to the creation of the actual Memory, and not to the moment when the User connected to it.

Example: 2017-10-13T13:32:34+00:00