Skip to content
merran
GitHubInstall

Merran documentation API & integrations

See whether a recipe is shared by link

GET
/api/recipes/{recipe}/share
curl --request GET \
--url http://localhost:3000/api/recipes/lemon-chicken/share \
--cookie merran.session_token=<merran.session_token>

With an API key, it needs the recipes: read permission.

recipe
required

The recipe’s id, or its slug.

string

Example

lemon-chicken

The recipe’s id, or its slug.

Its link, or null while it isn’t shared.

Media typeapplication/json
object
share
required

Its link, or null while it isn’t shared.

Any of:
object
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
createdAt
required
string

Example

{
"share": {
"url": "https://merran.example.com/r/q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6j7k8l9z0x1c",
"createdAt": "2026-11-08T17:30: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."
}
}
}

No such recipe.

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.