Merran documentation API & integrations
See every recipe the household shares by link
GET
/api/households/current/shares
const url = 'http://localhost:3000/api/households/current/shares';const options = { method: 'GET', headers: {cookie: 'merran.session_token=<merran.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/households/current/shares \ --cookie merran.session_token=<merran.session_token>Newest first, with who shared each and when its link was last opened. Household admins only.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”What it shares.
Media typeapplication/json
object
shares
required
Array<object>
object
recipe
required
object
slug
required
string
name
required
string
url
required
The link anyone can open to see and cook the recipe. Null while MERRAN_PUBLIC_URL isn’t set, because links are built from it.
string | null
sharedBy
required
Who shared it, or null once their account is deleted. A member removed from the household keeps their name.
object
name
required
string
createdAt
required
string
openedAt
required
When someone last opened the link, or null if none has.
string | null
Example
{ "shares": [ { "recipe": { "slug": "lemon-pasta", "name": "Lemon Pasta" }, "url": "https://merran.example.com/r/q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6j7k8l9z0x1c", "sharedBy": { "name": "Sam Rivera" }, "createdAt": "2026-11-08T17:30:00.000Z", "openedAt": "2026-11-09T12:00:00.000Z" } ]}Not signed in.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not allowed.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string
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.