Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Create a private calendar subscription URL

POST
/api/plan/calendar/links
curl --request POST \
--url http://localhost:3000/api/plan/calendar/links \
--cookie merran.session_token=<merran.session_token>

The URL is shown once. Anyone with it can read the household meal calendar until it is revoked.

Created.

Media typeapplication/json
object
id
required
string
createdAt
required
string format: date-time
url
required
string format: uri

Example

{
"id": "0199e8b0-5a10-7a01-8b00-00000000000a",
"createdAt": "2026-10-19T18:00:00.000Z",
"url": "https://merran.example.com/api/plan/calendar/feed/example-secret-token"
}

No public URL is configured.

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 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.