Merran documentation API & integrations
Check a file from another app
const url = 'http://localhost:3000/api/households/current/import/files';const options = { method: 'POST', headers: { cookie: 'merran.session_token=<merran.session_token>', 'Content-Type': 'application/zip' }, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/api/households/current/import/files \ --header 'Content-Type: application/zip' \ --cookie merran.session_token=<merran.session_token> \ --data binaryHousehold admins only. The body is the file: a Mealie backup, recipes exported from Mealie, or a Paprika export. It’s kept, and read in the background: follow its check at /households/current/import/files/{fileId} until it says what’s in it, then start its import at /households/current/import/files/{fileId}/start. A small file is often checked by the time this answers. A file not started is cleared away after a week.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Kept, and being checked.
object
The file: follow its check at /households/current/import/files/{fileId}.
Checking while Merran reads it, then ready with what’s in it, or failed with why it can’t be imported.
What’s in it, once it’s ready.
object
Start its import at /households/current/import/files/{fileId}/start.
A whole backup, or recipes exported from the app.
Of those, how many an earlier import brought in. They’re skipped.
A Mealie backup’s groups, when there’s more than one to choose from.
object
Why it can’t be imported, once it failed.
object
Example
{ "id": "0199e8b0-5a10-7a01-8b00-000000000018", "status": "checking", "file": null, "error": null}Not signed in.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not allowed.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}The file is too big.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.